Package system.workflow.runtime
Class WorkflowInstance
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.workflow.runtime.WorkflowInstance
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WorkflowInstance extends NetObject
The base .NET class managing System.Workflow.Runtime.WorkflowInstance, System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Workflow.Runtime.WorkflowInstance
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: System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Workflow.Runtimestatic java.lang.String
className
Qualified class name: System.Workflow.Runtime.WorkflowInstancestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WorkflowInstance()
WorkflowInstance(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Abort()
void
ApplyWorkflowChanges(WorkflowChanges workflowChanges)
static WorkflowInstance
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoWorkflowInstance
, a cast assert is made to check if types are compatible.void
EnqueueItem(IComparable queueName, NetObject item, IPendingWork pendingWork, NetObject workItem)
void
EnqueueItemOnIdle(IComparable queueName, NetObject item, IPendingWork pendingWork, NetObject workItem)
Guid
getInstanceId()
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 TypeActivity
GetWorkflowDefinition()
DateTime
GetWorkflowNextTimerExpiration()
WorkflowRuntime
getWorkflowRuntime()
void
Load()
void
ReloadTrackingProfiles()
void
Resume()
void
setJCOInstance(JCObject instance)
void
Start()
void
Suspend(java.lang.String error)
void
Terminate(java.lang.String error)
boolean
TryUnload()
void
Unload()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Workflow.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Workflow.Runtime- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Workflow.Runtime.WorkflowInstance- 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 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 WorkflowInstance cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoWorkflowInstance
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
WorkflowInstance
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
TryUnload
public boolean TryUnload() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, TransactionAbortedException, PersistenceException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
TransactionAbortedException
PersistenceException
-
GetWorkflowNextTimerExpiration
public DateTime GetWorkflowNextTimerExpiration() throws java.lang.Throwable, OverflowException, ArgumentNullException, KeyNotFoundException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
OverflowException
ArgumentNullException
KeyNotFoundException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
MulticastNotSupportedException
-
GetWorkflowDefinition
public Activity GetWorkflowDefinition() throws java.lang.Throwable, OverflowException, ArgumentNullException, KeyNotFoundException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, ConfigurationException, ConfigurationErrorsException, InvalidCastException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
OverflowException
ArgumentNullException
KeyNotFoundException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
ConfigurationException
ConfigurationErrorsException
InvalidCastException
MulticastNotSupportedException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, TransactionException, FileNotFoundException, DirectoryNotFoundException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TransactionAbortedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
TransactionException
FileNotFoundException
DirectoryNotFoundException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TransactionAbortedException
-
ApplyWorkflowChanges
public void ApplyWorkflowChanges(WorkflowChanges workflowChanges) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, ApplicationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
ApplicationException
-
EnqueueItem
public void EnqueueItem(IComparable queueName, NetObject item, IPendingWork pendingWork, NetObject workItem) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
-
EnqueueItemOnIdle
public void EnqueueItemOnIdle(IComparable queueName, NetObject item, IPendingWork pendingWork, NetObject workItem) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
-
Load
public void Load() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
-
ReloadTrackingProfiles
public void ReloadTrackingProfiles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, XmlSchemaException, TrackingProfileDeserializationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
XmlSchemaException
TrackingProfileDeserializationException
-
Resume
public void Resume() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
-
Start
public void Start() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, TransactionAbortedException, PersistenceException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
TransactionAbortedException
PersistenceException
-
Suspend
public void Suspend(java.lang.String error) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
-
Terminate
public void Terminate(java.lang.String error) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, TransactionAbortedException, PersistenceException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
TransactionAbortedException
PersistenceException
-
Unload
public void Unload() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationException, ConfigurationErrorsException, NotImplementedException, InvalidCastException, NullReferenceException, OverflowException, FormatException, KeyNotFoundException, CultureNotFoundException, WorkflowValidationFailedException, XmlException, UnauthorizedAccessException, PlatformNotSupportedException, CryptographicException, MulticastNotSupportedException, TransactionAbortedException, PersistenceException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationException
ConfigurationErrorsException
NotImplementedException
InvalidCastException
NullReferenceException
OverflowException
FormatException
KeyNotFoundException
CultureNotFoundException
WorkflowValidationFailedException
XmlException
UnauthorizedAccessException
PlatformNotSupportedException
CryptographicException
MulticastNotSupportedException
TransactionAbortedException
PersistenceException
-
getInstanceId
public Guid getInstanceId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWorkflowRuntime
public WorkflowRuntime getWorkflowRuntime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-