Package microsoft.build.framework
Class IEventSourceImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.framework.IEventSourceImplementation
-
- All Implemented Interfaces:
IEventSource
,IJCOBridgeReflected
public class IEventSourceImplementation extends NetObject implements IEventSource
The base .NET class managing Microsoft.Build.Framework.IEventSource, Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Framework.IEventSource
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.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Frameworkstatic java.lang.String
className
Qualified class name: Microsoft.Build.Framework.IEventSourcestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IEventSourceImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Framework, 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.Framework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Framework.IEventSource- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIEventSource
- 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 interfaceIEventSource
- 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 interfaceIEventSource
- 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 interfaceIEventSource
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIEventSource
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIEventSource
public static IEventSource ToIEventSource(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIEventSource
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IEventSource
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
addAnyEventRaised
public void addAnyEventRaised(AnyEventHandler handler) throws java.lang.Throwable
- Specified by:
addAnyEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeAnyEventRaised
public void removeAnyEventRaised(AnyEventHandler handler) throws java.lang.Throwable
- Specified by:
removeAnyEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addErrorRaised
public void addErrorRaised(BuildErrorEventHandler handler) throws java.lang.Throwable
- Specified by:
addErrorRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeErrorRaised
public void removeErrorRaised(BuildErrorEventHandler handler) throws java.lang.Throwable
- Specified by:
removeErrorRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addBuildFinished
public void addBuildFinished(BuildFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
addBuildFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeBuildFinished
public void removeBuildFinished(BuildFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeBuildFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addMessageRaised
public void addMessageRaised(BuildMessageEventHandler handler) throws java.lang.Throwable
- Specified by:
addMessageRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeMessageRaised
public void removeMessageRaised(BuildMessageEventHandler handler) throws java.lang.Throwable
- Specified by:
removeMessageRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addBuildStarted
public void addBuildStarted(BuildStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
addBuildStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeBuildStarted
public void removeBuildStarted(BuildStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeBuildStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addStatusEventRaised
public void addStatusEventRaised(BuildStatusEventHandler handler) throws java.lang.Throwable
- Specified by:
addStatusEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeStatusEventRaised
public void removeStatusEventRaised(BuildStatusEventHandler handler) throws java.lang.Throwable
- Specified by:
removeStatusEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addWarningRaised
public void addWarningRaised(BuildWarningEventHandler handler) throws java.lang.Throwable
- Specified by:
addWarningRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeWarningRaised
public void removeWarningRaised(BuildWarningEventHandler handler) throws java.lang.Throwable
- Specified by:
removeWarningRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addCustomEventRaised
public void addCustomEventRaised(CustomBuildEventHandler handler) throws java.lang.Throwable
- Specified by:
addCustomEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeCustomEventRaised
public void removeCustomEventRaised(CustomBuildEventHandler handler) throws java.lang.Throwable
- Specified by:
removeCustomEventRaised
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addProjectFinished
public void addProjectFinished(ProjectFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
addProjectFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeProjectFinished
public void removeProjectFinished(ProjectFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeProjectFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addProjectStarted
public void addProjectStarted(ProjectStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
addProjectStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeProjectStarted
public void removeProjectStarted(ProjectStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeProjectStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addTargetFinished
public void addTargetFinished(TargetFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
addTargetFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeTargetFinished
public void removeTargetFinished(TargetFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeTargetFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addTargetStarted
public void addTargetStarted(TargetStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
addTargetStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeTargetStarted
public void removeTargetStarted(TargetStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeTargetStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addTaskFinished
public void addTaskFinished(TaskFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
addTaskFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeTaskFinished
public void removeTaskFinished(TaskFinishedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeTaskFinished
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
addTaskStarted
public void addTaskStarted(TaskStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
addTaskStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
removeTaskStarted
public void removeTaskStarted(TaskStartedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeTaskStarted
in interfaceIEventSource
- Throws:
java.lang.Throwable
-
-