Class AssemblyIdentity
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.tasks.deployment.manifestutilities.AssemblyIdentity
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class AssemblyIdentity extends NetObject
The base .NET class managing Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Build.Tasks.v4.0static java.lang.StringclassNameQualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentitystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AssemblyIdentity()AssemblyIdentity(java.lang.Object instance)Internal constructor.AssemblyIdentity(java.lang.String name)AssemblyIdentity(java.lang.String name, java.lang.String version)AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture)AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture, java.lang.String processorArchitecture)AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture, java.lang.String processorArchitecture, java.lang.String type)AssemblyIdentity(AssemblyIdentity identity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssemblyIdentitycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAssemblyIdentity, a cast assert is made to check if types are compatible.static AssemblyIdentityFromAssemblyName(java.lang.String assemblyName)static AssemblyIdentityFromFile(java.lang.String path)static AssemblyIdentityFromManagedAssembly(java.lang.String path)static AssemblyIdentityFromManifest(java.lang.String path)static AssemblyIdentityFromNativeAssembly(java.lang.String path)java.lang.StringgetCulture()booleangetIsFrameworkAssembly()booleangetIsNeutralPlatform()booleangetIsStrongName()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()java.lang.StringgetProcessorArchitecture()java.lang.StringgetPublicKeyToken()java.lang.StringgetType()java.lang.StringgetVersion()java.lang.StringgetXmlCulture()java.lang.StringgetXmlName()java.lang.StringgetXmlProcessorArchitecture()java.lang.StringgetXmlPublicKeyToken()java.lang.StringgetXmlType()java.lang.StringgetXmlVersion()voidsetCulture(java.lang.String Culture)voidsetJCOInstance(JCObject instance)voidsetName(java.lang.String Name)voidsetProcessorArchitecture(java.lang.String ProcessorArchitecture)voidsetPublicKeyToken(java.lang.String PublicKeyToken)voidsetType(java.lang.String Type)voidsetVersion(java.lang.String Version)voidsetXmlCulture(java.lang.String XmlCulture)voidsetXmlName(java.lang.String XmlName)voidsetXmlProcessorArchitecture(java.lang.String XmlProcessorArchitecture)voidsetXmlPublicKeyToken(java.lang.String XmlPublicKeyToken)voidsetXmlType(java.lang.String XmlType)voidsetXmlVersion(java.lang.String XmlVersion)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentity- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssemblyIdentity
public AssemblyIdentity(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(AssemblyIdentity identity) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(java.lang.String name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(java.lang.String name, java.lang.String version) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture, java.lang.String processorArchitecture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AssemblyIdentity
public AssemblyIdentity(java.lang.String name, java.lang.String version, java.lang.String publicKeyToken, java.lang.String culture, java.lang.String processorArchitecture, java.lang.String type) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static AssemblyIdentity cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAssemblyIdentity, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
AssemblyIdentityinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
FromAssemblyName
public static AssemblyIdentity FromAssemblyName(java.lang.String assemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionKeyNotFoundExceptionNotSupportedExceptionRankExceptionSecurityExceptionNotImplementedExceptionOverflowExceptionRegexMatchTimeoutException
-
FromFile
public static AssemblyIdentity FromFile(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, XmlException, MissingManifestResourceException, XmlSchemaException, XPathException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionXmlExceptionMissingManifestResourceExceptionXmlSchemaExceptionXPathExceptionObjectDisposedExceptionAbandonedMutexException
-
FromManagedAssembly
public static AssemblyIdentity FromManagedAssembly(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException
-
FromManifest
public static AssemblyIdentity FromManifest(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, NotImplementedException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, XmlException, XmlSchemaException, NullReferenceException, XPathException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionXmlExceptionXmlSchemaExceptionNullReferenceExceptionXPathException
-
FromNativeAssembly
public static AssemblyIdentity FromNativeAssembly(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IOException, NotImplementedException, XmlException, XmlSchemaException, XPathException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIOExceptionNotImplementedExceptionXmlExceptionXmlSchemaExceptionXPathException
-
getIsFrameworkAssembly
public boolean getIsFrameworkAssembly() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NotImplementedException, OverflowException, MissingManifestResourceException, ObjectDisposedException, FormatException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionNotImplementedExceptionOverflowExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionKeyNotFoundException
-
getIsNeutralPlatform
public boolean getIsNeutralPlatform() throws java.lang.Throwable, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
getIsStrongName
public boolean getIsStrongName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCulture
public java.lang.String getCulture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCulture
public void setCulture(java.lang.String Culture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getProcessorArchitecture
public java.lang.String getProcessorArchitecture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setProcessorArchitecture
public void setProcessorArchitecture(java.lang.String ProcessorArchitecture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPublicKeyToken
public java.lang.String getPublicKeyToken() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPublicKeyToken
public void setPublicKeyToken(java.lang.String PublicKeyToken) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getType
public java.lang.String getType() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setType
public void setType(java.lang.String Type) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getVersion
public java.lang.String getVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setVersion
public void setVersion(java.lang.String Version) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlCulture
public java.lang.String getXmlCulture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlCulture
public void setXmlCulture(java.lang.String XmlCulture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlName
public java.lang.String getXmlName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlName
public void setXmlName(java.lang.String XmlName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlProcessorArchitecture
public java.lang.String getXmlProcessorArchitecture() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlProcessorArchitecture
public void setXmlProcessorArchitecture(java.lang.String XmlProcessorArchitecture) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlPublicKeyToken
public java.lang.String getXmlPublicKeyToken() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlPublicKeyToken
public void setXmlPublicKeyToken(java.lang.String XmlPublicKeyToken) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlType
public java.lang.String getXmlType() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlType
public void setXmlType(java.lang.String XmlType) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getXmlVersion
public java.lang.String getXmlVersion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setXmlVersion
public void setXmlVersion(java.lang.String XmlVersion) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-