gov.nasa.arc.brahms.common.rt
Interface IJavaActivityCtx
- All Superinterfaces:
- IActivityCtx, IBrahmsObjectCtx, IPrimitiveActivityCtx
- All Known Implementing Classes:
- JavaActivityCtx, VMJavaActivityCtx
public interface IJavaActivityCtx
- extends IPrimitiveActivityCtx
The IJavaActivityCtx interface is the interface for java activity
contexts. A JavaActivityCtx maintains the context of a java activity
being or to be executed by an active instance. The context maintains
the start and end times for an activity, the duration, priority,
status, randomness, duration, resources, what java class it used to
execute the activity and when the activity was executed.
- Version:
- 24 August 2000
- Author:
- Ron van Hoof
Method Summary |
ParameterCtx |
getJavaClass()
Returns the fully qualified name of the class that is to be used to perform the
Java activity. |
ParameterCtx |
getWhen()
Returns when the java activity is to take place (start or end). |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IActivityCtx |
getCompletionCause, getDisplayText, getParentFrame, getPerformedBy, getPriority, getReferencedBy, getStatus, setCompletionCause, setDisplayText, setParentFrame, setPerformedBy, setReferencedBy, setStatus |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
getJavaClass
ParameterCtx getJavaClass()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Returns the fully qualified name of the class that is to be used to perform the
Java activity. The name is set through a parameter contect containing
either a String value with the name or a reference to a variable
containing the name of the class.
- Returns:
- ParameterCtx the java class defining the java code to be executed
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the when value is not defined
getWhen
ParameterCtx getWhen()
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Returns when the java activity is to take place (start or end). The
when value is set through a parameter context containing either the
actual value or a reference to a variable containing the
when value.
- Returns:
- ParameterCtx the when value defining when the java activity is to occur
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the when value is not defined
Copyright © 1997-2012 All Rights Reserved.