Interface UntilStep
-
- All Superinterfaces:
FormalRequirementStep
,FromOrUntilStep
,IdentifiableRemote
,java.rmi.Remote
,TptRemote
public interface UntilStep extends FromOrUntilStep
ThisFormalRequirementStep
yields an interval from the start of the context interval until the first time the expression gets fulfilled.
-
-
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
getPrecedingIntervalLength()
The time which precedes the interval where the expression is true by the specified duration.void
setExpression(java.lang.String expr)
Sets the expression.void
setPrecedingIntervalLength(java.lang.String interval)
sets a time which precedes the interval where the expression istrue
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 until which we are measuring- Throws:
java.rmi.RemoteException
- remote communication problemApiException
- if the expr isnull
-
setPrecedingIntervalLength
void setPrecedingIntervalLength(java.lang.String interval) throws java.rmi.RemoteException, ApiException
sets a time which precedes the interval where the expression istrue
by the specified duration.- Parameters:
interval
- the preceding interval- Throws:
java.rmi.RemoteException
- remote communication problemApiException
- if the interval isnull
-
getPrecedingIntervalLength
java.lang.String getPrecedingIntervalLength() throws java.rmi.RemoteException
The time which precedes the interval where the expression is true by the specified duration.- Returns:
- the time which precedes the interval where the expression is true by the specified duration
- Throws:
java.rmi.RemoteException
- remote communication problem
-
-