Package microsoft.build.tasks
Class Message
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.Task
-
- microsoft.build.tasks.TaskExtension
-
- microsoft.build.tasks.Message
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Message extends TaskExtension
The base .NET class managing Microsoft.Build.Tasks.Message, 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.Message
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.Messagestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Messagecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMessage, a cast assert is made to check if types are compatible.booleanExecute()java.lang.StringgetCode()java.lang.StringgetFile()java.lang.StringgetHelpKeyword()java.lang.StringgetImportance()booleangetIsCritical()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.StringgetText()voidsetCode(java.lang.String Code)voidsetFile(java.lang.String File)voidsetHelpKeyword(java.lang.String HelpKeyword)voidsetImportance(java.lang.String Importance)voidsetIsCritical(boolean IsCritical)voidsetJCOInstance(JCObject instance)voidsetText(java.lang.String Text)-
Methods inherited from class microsoft.build.tasks.TaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.Task
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, 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.Message- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Message
public Message(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Message
public Message() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classTaskExtension- 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 classTaskExtension- 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 classTaskExtension- 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 classTaskExtension- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classTaskExtension
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classTaskExtension- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Message cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMessage, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Messageinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Execute
public boolean Execute() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, InvalidCastException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, NullReferenceException, MissingManifestResourceException- Overrides:
Executein classTask- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionInvalidCastExceptionArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionNullReferenceExceptionMissingManifestResourceException
-
getIsCritical
public boolean getIsCritical() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsCritical
public void setIsCritical(boolean IsCritical) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCode
public java.lang.String getCode() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCode
public void setCode(java.lang.String Code) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFile
public java.lang.String getFile() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFile
public void setFile(java.lang.String File) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getHelpKeyword
public java.lang.String getHelpKeyword() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setHelpKeyword
public void setHelpKeyword(java.lang.String HelpKeyword) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getImportance
public java.lang.String getImportance() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setImportance
public void setImportance(java.lang.String Importance) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getText
public java.lang.String getText() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setText
public void setText(java.lang.String Text) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-