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.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyIdentitystatic JCType
classType
The 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 AssemblyIdentity
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAssemblyIdentity
, a cast assert is made to check if types are compatible.static AssemblyIdentity
FromAssemblyName(java.lang.String assemblyName)
static AssemblyIdentity
FromFile(java.lang.String path)
static AssemblyIdentity
FromManagedAssembly(java.lang.String path)
static AssemblyIdentity
FromManifest(java.lang.String path)
static AssemblyIdentity
FromNativeAssembly(java.lang.String path)
java.lang.String
getCulture()
boolean
getIsFrameworkAssembly()
boolean
getIsNeutralPlatform()
boolean
getIsStrongName()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getName()
java.lang.String
getProcessorArchitecture()
java.lang.String
getPublicKeyToken()
java.lang.String
getType()
java.lang.String
getVersion()
java.lang.String
getXmlCulture()
java.lang.String
getXmlName()
java.lang.String
getXmlProcessorArchitecture()
java.lang.String
getXmlPublicKeyToken()
java.lang.String
getXmlType()
java.lang.String
getXmlVersion()
void
setCulture(java.lang.String Culture)
void
setJCOInstance(JCObject instance)
void
setName(java.lang.String Name)
void
setProcessorArchitecture(java.lang.String ProcessorArchitecture)
void
setPublicKeyToken(java.lang.String PublicKeyToken)
void
setType(java.lang.String Type)
void
setVersion(java.lang.String Version)
void
setXmlCulture(java.lang.String XmlCulture)
void
setXmlName(java.lang.String XmlName)
void
setXmlProcessorArchitecture(java.lang.String XmlProcessorArchitecture)
void
setXmlPublicKeyToken(java.lang.String XmlPublicKeyToken)
void
setXmlType(java.lang.String XmlType)
void
setXmlVersion(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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static AssemblyIdentity cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAssemblyIdentity
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AssemblyIdentity
instance- 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.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
OverflowException
RegexMatchTimeoutException
-
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.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
XmlException
MissingManifestResourceException
XmlSchemaException
XPathException
ObjectDisposedException
AbandonedMutexException
-
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.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
NotImplementedException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
MissingManifestResourceException
XmlException
XmlSchemaException
NullReferenceException
XPathException
-
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.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotSupportedException
InvalidOperationException
NullReferenceException
SecurityException
IOException
NotImplementedException
XmlException
XmlSchemaException
XPathException
-
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.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
NotSupportedException
IndexOutOfRangeException
InvalidOperationException
MissingMethodException
TargetInvocationException
NullReferenceException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
NotImplementedException
OverflowException
MissingManifestResourceException
ObjectDisposedException
FormatException
KeyNotFoundException
-
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
-
-