Interface FromStep
-
- All Superinterfaces:
FormalRequirementStep
,FromOrUntilStep
,IdentifiableRemote
,java.rmi.Remote
,TptRemote
public interface FromStep extends FromOrUntilStep
ThisFormalRequirementStep
yields an interval from the first time the expression becomes true, until the end of the context. The time step where the expression became true is included.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.piketec.tpt.api.steplist.formalrequirements.FromOrUntilStep
FromOrUntilStep.TriggerType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFollowingIntervalLength()
The time which extends the interval where the expression is true by the specified duration.void
setExpression(java.lang.String expr)
Sets the expression.void
setFollowingIntervalLength(java.lang.String interval)
Sets a time which extends the interval where the expression is true by the specified duration.-
Methods inherited from interface com.piketec.tpt.api.steplist.formalrequirements.FormalRequirementStep
getDocumentation, getHierarchyLevel, getType, isActive, setActive, setDocumentation, setHierarchyLevel
-
Methods inherited from interface com.piketec.tpt.api.steplist.formalrequirements.FromOrUntilStep
getExpression, getTriggerLength, getTriggerType, setTriggerLength, setTriggerType
-
Methods inherited from interface com.piketec.tpt.api.IdentifiableRemote
getIdentifier
-
-
-
-
Method Detail
-
setExpression
void setExpression(java.lang.String expr) throws java.rmi.RemoteException, ApiException
Sets the expression.- Parameters:
expr
- the expression from which we are measuring- Throws:
java.rmi.RemoteException
- remote communication problemApiException
- if the expr isnull
-
setFollowingIntervalLength
void setFollowingIntervalLength(java.lang.String interval) throws java.rmi.RemoteException, ApiException
Sets a time which extends the interval where the expression is true by the specified duration.- Parameters:
interval
- the extending interval- Throws:
java.rmi.RemoteException
- remote communication problemApiException
- if the interval isnull
-
getFollowingIntervalLength
java.lang.String getFollowingIntervalLength() throws java.rmi.RemoteException
The time which extends the interval where the expression is true by the specified duration.- Returns:
- the time which extends the interval where the expression is true by the specified duration
- Throws:
java.rmi.RemoteException
- remote communication problem
-
-