public class TestCaseActivity extends Object
| Constructor and Description |
|---|
TestCaseActivity(org.camunda.bpm.model.bpmn.instance.FlowNode flowNode,
org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics multiInstance) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.camunda.bpm.model.bpmn.instance.FlowNode> |
as(Class<T> type) |
boolean |
equals(Object obj) |
String |
getEventCode()
Returns the code of the related error or escalation event.
|
String |
getEventName()
Returns the name of the related message or signal event.
|
String |
getId()
Returns the ID of the flow node.
|
String |
getLiteral()
Returns the ID of the flow node as Java literal.
|
org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics |
getMultiInstance() |
TestCaseActivity |
getNext()
Returns the next test activity.
|
TestCaseActivityScope |
getParent()
Return the parent test case activity scope.
|
TestCaseActivity |
getPrev()
Returns the previous test activity.
|
GeneratorStrategy |
getStrategy() |
String |
getTopicName() |
TestCaseActivityType |
getType() |
String |
getTypeName() |
int |
hashCode() |
boolean |
hasMultiInstanceParent() |
boolean |
hasNext() |
boolean |
hasParent() |
boolean |
hasPrev() |
boolean |
hasPrev(TestCaseActivityType type)
Checks if the activity has a predecessor and the predecessor's type is the given type.
|
boolean |
isAsyncAfter() |
boolean |
isAsyncBefore() |
boolean |
isAttachedTo(TestCaseActivity activity) |
boolean |
isMultiInstance() |
boolean |
isProcessEnd() |
boolean |
isScope()
Determines if the activity is a scope (embedded sub process or transaction) or an atomic
activity.
|
void |
setAttachedTo(String attachedTo) |
void |
setEventCode(String eventCode) |
void |
setEventName(String eventName) |
void |
setNext(TestCaseActivity next) |
void |
setParent(TestCaseActivityScope parent) |
void |
setPrev(TestCaseActivity prev) |
void |
setProcessEnd(boolean processEnd) |
void |
setStrategy(GeneratorStrategy strategy) |
void |
setTopicName(String topicName) |
void |
setType(TestCaseActivityType type) |
public TestCaseActivity(org.camunda.bpm.model.bpmn.instance.FlowNode flowNode,
org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics multiInstance)
public <T extends org.camunda.bpm.model.bpmn.instance.FlowNode> T as(Class<T> type)
public String getEventCode()
null, if the test activity is not releated to an error or
escalation event.public String getEventName()
null, if the test activity is not related to an message or
signal event.public String getId()
public String getLiteral()
BpmnSupport.toJavaLiteral(String)public org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics getMultiInstance()
public TestCaseActivity getNext()
null, if this is the last activity.public TestCaseActivityScope getParent()
null, if there is no parent.public TestCaseActivity getPrev()
null, if this is the first activity.public GeneratorStrategy getStrategy()
public String getTopicName()
public TestCaseActivityType getType()
public String getTypeName()
public boolean hasMultiInstanceParent()
public boolean hasNext()
public boolean hasParent()
public boolean hasPrev()
public boolean hasPrev(TestCaseActivityType type)
type - A specific test activity type.true, if a previous activity with the given type exists. Otherwise false.public boolean isAsyncAfter()
public boolean isAsyncBefore()
public boolean isAttachedTo(TestCaseActivity activity)
public boolean isMultiInstance()
public boolean isProcessEnd()
public boolean isScope()
true, if the activity is a scope. Otherwise false.public void setAttachedTo(String attachedTo)
public void setEventCode(String eventCode)
public void setEventName(String eventName)
public void setNext(TestCaseActivity next)
public void setParent(TestCaseActivityScope parent)
public void setPrev(TestCaseActivity prev)
public void setProcessEnd(boolean processEnd)
public void setStrategy(GeneratorStrategy strategy)
public void setTopicName(String topicName)
public void setType(TestCaseActivityType type)
Copyright © 2022 Camunda Services GmbH. All rights reserved.