Package microsoft.build.tasks
Class SignFile
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.SignFile
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SignFile extends Task
The base .NET class managing Microsoft.Build.Tasks.SignFile, 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.SignFile
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.SignFilestatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignFile
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSignFile
, a cast assert is made to check if types are compatible.boolean
Execute()
java.lang.String
getCertificateThumbprint()
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 TypeITaskItem
getSigningTarget()
java.lang.String
getTimestampUrl()
void
setCertificateThumbprint(java.lang.String CertificateThumbprint)
void
setJCOInstance(JCObject instance)
void
setSigningTarget(ITaskItem SigningTarget)
void
setTimestampUrl(java.lang.String TimestampUrl)
-
Methods inherited from class microsoft.build.utilities.Task
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, getLog, setBuildEngine, setHostObject
-
-
-
-
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.SignFile- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SignFile
public SignFile(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SignFile
public SignFile() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
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 classTask
- 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 classTask
- 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 classTask
- 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 classTask
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classTask
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classTask
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SignFile cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSignFile
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SignFile
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, OutOfMemoryException, CryptographicException, FormatException, AccessViolationException, NotSupportedException, RankException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ApplicationException, Win32Exception, PlatformNotSupportedException, WarningException, ThreadAbortException, PrivilegeNotHeldException, XmlException, XmlSchemaException, XPathException
- Overrides:
Execute
in classTask
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
SecurityException
MemberAccessException
NullReferenceException
ConfigurationException
UriFormatException
OutOfMemoryException
CryptographicException
FormatException
AccessViolationException
NotSupportedException
RankException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ApplicationException
Win32Exception
PlatformNotSupportedException
WarningException
ThreadAbortException
PrivilegeNotHeldException
XmlException
XmlSchemaException
XPathException
-
getSigningTarget
public ITaskItem getSigningTarget() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSigningTarget
public void setSigningTarget(ITaskItem SigningTarget) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCertificateThumbprint
public java.lang.String getCertificateThumbprint() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCertificateThumbprint
public void setCertificateThumbprint(java.lang.String CertificateThumbprint) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTimestampUrl
public java.lang.String getTimestampUrl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTimestampUrl
public void setTimestampUrl(java.lang.String TimestampUrl) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-