@Entity public class TcContext extends JsonStorable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
TC |
startTime| Constructor and Description |
|---|
TcContext()
TODO: Add JavaDoc.
|
TcContext(Storable parent,
Map parameters) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object anObject) |
void |
fillBindingKeys(Set<String> renderendContextKeys) |
void |
fillInstances(List<AbstractContainerInstance> instances) |
void |
fillReportLinks(Map<String,String> reportLinks) |
Date |
getDuration()
Compute duration of the context execution.
|
int |
getDurationMinutes()
Compute duration of the context execution.
|
Environment |
getEnvironmentById() |
AbstractContainerInstance |
getInitiator() |
List<AbstractContainerInstance> |
getInstances() |
boolean |
getStartedByAtp() |
StartedFrom |
getStartedFrom() |
int |
hashCode() |
Boolean |
isFailEventSent() |
boolean |
isFinished() |
Boolean |
isFinishEventSent() |
boolean |
isNeedToReportToAtp() |
boolean |
isNeedToReportToItf() |
boolean |
isNotified() |
boolean |
isRunnable()
Method returns true if state change from the current state to IN_PROGRESS is valid.
|
boolean |
isRunning() |
boolean |
isRunStepByStep() |
boolean |
isStartValidation() |
boolean |
isValidationFailed() |
void |
setAndCalculateNeedToReportToItf()
Calculate and set needToReportToItf field.
|
void |
setFailEventAsSent() |
void |
setFinishEventAsSent() |
void |
setInitiator(AbstractContainerInstance initiator) |
protected void |
setInstances(List<AbstractContainerInstance> instances) |
void |
setNeedToReportToAtp(boolean needToReportToAtp) |
void |
setNeedToReportToItf(boolean needToReportToItf) |
void |
setNotified(boolean notified) |
void |
setRunStepByStep(boolean runStepByStep) |
void |
setStartedByAtp(boolean startedByAtp) |
void |
setStartedFrom(StartedFrom startedFrom) |
void |
setStartValidation(boolean startValidation) |
void |
setTimeToLive() |
void |
setValidationFailed(boolean validationFailed) |
contains, copy, findRootObject, findUsages, flush, getDescription, getExtendsParameters, getID, getName, getNaturalId, getParent, getPrefix, getStartTime, getStorableProp, getStoreInformationDelegate, getVersion, move, performActionsForImportIntoAnotherProject, performPostCopyActions, performPostImportActions, performPostImportActionsParent, remove, replicate, returnSimpleParent, setDescription, setID, setName, setNaturalId, setParent, setPrefix, setStartTime, setStorableProp, setVersion, store, toString, upStorableVersioncontainsKey, create, create, extend, fromJson, get, get, getCast, getExtension, getExtensionsJson, getHistory, getJsonString, isCollectHistory, merge, mergeMap, put, putAll, putIfAbsent, setCollectHistory, setExtensionsJson, setJsonStringescape, toJSONString, toJSONString, toString, writeJSONString, writeJSONStringclear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitgetProjectId, setProjectIdclear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic static final String TC
public void setTimeToLive()
public boolean isRunning()
public boolean isRunnable()
So, direct state manipulations made by a user from UI (re-Run Failed/Stopped context via Context popup or Pause/Resume) are not controlled by this method.
public boolean isFinished()
public List<AbstractContainerInstance> getInstances()
protected void setInstances(List<AbstractContainerInstance> instances)
public void fillInstances(List<AbstractContainerInstance> instances)
public AbstractContainerInstance getInitiator()
public void setInitiator(AbstractContainerInstance initiator)
public Date getDuration()
public int getDurationMinutes()
public boolean isStartValidation()
public void setStartValidation(boolean startValidation)
public Environment getEnvironmentById()
public boolean getStartedByAtp()
public void setStartedByAtp(boolean startedByAtp)
public boolean isNeedToReportToAtp()
public void setNeedToReportToAtp(boolean needToReportToAtp)
public boolean isNeedToReportToItf()
public void setNeedToReportToItf(boolean needToReportToItf)
public void setAndCalculateNeedToReportToItf()
public StartedFrom getStartedFrom()
public void setStartedFrom(StartedFrom startedFrom)
public Boolean isFailEventSent()
public void setFailEventAsSent()
public Boolean isFinishEventSent()
public void setFinishEventAsSent()
public boolean isNotified()
public void setNotified(boolean notified)
public boolean equals(Object anObject)
equals in interface Mapequals in class JsonStorablepublic int hashCode()
hashCode in interface MaphashCode in class JsonStorablepublic boolean isRunStepByStep()
public void setRunStepByStep(boolean runStepByStep)
public boolean isValidationFailed()
public void setValidationFailed(boolean validationFailed)
Copyright © 2025. All rights reserved.