code stringlengths 23 201k | docstring stringlengths 17 96.2k | func_name stringlengths 0 235 | language stringclasses 1
value | repo stringlengths 8 72 | path stringlengths 11 317 | url stringlengths 57 377 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
protected static ParameterValueProvider parseParamValueProvider(Element parameterElement) {
// LIST
if("list".equals(parameterElement.getTagName())) {
List<ParameterValueProvider> providerList = new ArrayList<>();
for (Element element : parameterElement.elements()) {
// parse nested provide... | @throws BpmnParseException if the parameter is invalid | parseParamValueProvider | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | Apache-2.0 |
public static ExecutableScript parseCamundaScript(Element scriptElement) {
String scriptLanguage = scriptElement.attribute("scriptFormat");
if (scriptLanguage == null || scriptLanguage.isEmpty()) {
throw new BpmnParseException("Missing attribute 'scriptFormat' for 'script' element", scriptElement);
}
... | Parses a camunda script element.
@param scriptElement the script element ot parse
@return the generated executable script
@throws BpmnParseException if the a attribute is missing or the script cannot be processed | parseCamundaScript | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | Apache-2.0 |
public static Map<String, String> parseCamundaExtensionProperties(Element element){
Element propertiesElement = findCamundaExtensionElement(element, "properties");
if(propertiesElement != null) {
List<Element> properties = propertiesElement.elementsNS(BpmnParse.CAMUNDA_BPMN_EXTENSIONS_NS, "property");
... | Parses a camunda script element.
@param scriptElement the script element ot parse
@return the generated executable script
@throws BpmnParseException if the a attribute is missing or the script cannot be processed | parseCamundaExtensionProperties | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | Apache-2.0 |
protected static ExpressionManager getExpressionManager() {
return Context.getProcessEngineConfiguration().getExpressionManager();
} | Parses a camunda script element.
@param scriptElement the script element ot parse
@return the generated executable script
@throws BpmnParseException if the a attribute is missing or the script cannot be processed | getExpressionManager | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParseUtil.java | Apache-2.0 |
public ActivityImpl getConditionalActivity() {
return conditionalActivity;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | getConditionalActivity | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public void setConditionalActivity(ActivityImpl conditionalActivity) {
this.conditionalActivity = conditionalActivity;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | setConditionalActivity | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public boolean isInterrupting() {
return interrupting;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | isInterrupting | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public void setInterrupting(boolean interrupting) {
this.interrupting = interrupting;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | setInterrupting | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public String getVariableName() {
return variableName;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | getVariableName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public void setVariableName(String variableName) {
this.variableName = variableName;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | setVariableName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public Set<String> getVariableEvents() {
return variableEvents;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | getVariableEvents | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public void setVariableEvents(Set<String> variableEvents) {
this.variableEvents = variableEvents;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | setVariableEvents | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public String getConditionAsString() {
return conditionAsString;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | getConditionAsString | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public void setConditionAsString(String conditionAsString) {
this.conditionAsString = conditionAsString;
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | setConditionAsString | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public boolean shouldEvaluateForVariableEvent(VariableEvent event) {
return
((variableName == null || event.getVariableInstance().getName().equals(variableName))
&&
((variableEvents == null || variableEvents.isEmpty()) || variableEvents.contains(event.getEventName()... | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | shouldEvaluateForVariableEvent | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public boolean evaluate(DelegateExecution execution) {
if (condition != null) {
return condition.evaluate(execution, execution);
}
throw new IllegalStateException("Conditional event must have a condition!");
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | evaluate | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public boolean tryEvaluate(DelegateExecution execution) {
if (condition != null) {
return condition.tryEvaluate(execution, execution);
}
throw new IllegalStateException("Conditional event must have a condition!");
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | tryEvaluate | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public boolean tryEvaluate(VariableEvent variableEvent, DelegateExecution execution) {
return (variableEvent == null || shouldEvaluateForVariableEvent(variableEvent)) && tryEvaluate(execution);
} | Represents the conditional event definition corresponding to the
ConditionalEvent defined by the BPMN 2.0 spec.
@author Christopher Zell <christopher.zell@camunda.com> | tryEvaluate | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ConditionalEventDefinition.java | Apache-2.0 |
public String getSource() {
return source;
} | A data association (Input or Output) between a source and a target | getSource | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | Apache-2.0 |
public String getTarget() {
return target;
} | A data association (Input or Output) between a source and a target | getTarget | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | Apache-2.0 |
public Expression getSourceExpression() {
return sourceExpression;
} | A data association (Input or Output) between a source and a target | getSourceExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | Apache-2.0 |
public String getVariables() {
return variables;
} | A data association (Input or Output) between a source and a target | getVariables | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | Apache-2.0 |
public Expression getBusinessKeyExpression() {
return businessKeyExpression;
} | A data association (Input or Output) between a source and a target | getBusinessKeyExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/DataAssociation.java | Apache-2.0 |
public String getId() {
return id;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | getId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public void setId(String id) {
this.id = id;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | setId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public String getErrorCode() {
return errorCode;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | getErrorCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | setErrorCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public ParameterValueProvider getErrorMessageExpression() {
return errorMessageExpression;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | getErrorMessageExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public void setErrorMessageExpression(ParameterValueProvider errorMessageExpression) {
this.errorMessageExpression = errorMessageExpression;
} | Represents a BPMN Error definition, whereas {@link BpmnError} represents an
actual instance of an Error.
@author Joram Barrez | setErrorMessageExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Error.java | Apache-2.0 |
public String getName() {
return name;
} | Represents an 'escalation' element.
@author Philipp Ossler | getName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Represents an 'escalation' element.
@author Philipp Ossler | setName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | Apache-2.0 |
public String getEscalationCode() {
return escalationCode;
} | Represents an 'escalation' element.
@author Philipp Ossler | getEscalationCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | Apache-2.0 |
public void setEscalationCode(String escalationCode) {
this.escalationCode = escalationCode;
} | Represents an 'escalation' element.
@author Philipp Ossler | setEscalationCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | Apache-2.0 |
public String getId() {
return id;
} | Represents an 'escalation' element.
@author Philipp Ossler | getId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/Escalation.java | Apache-2.0 |
public String getEscalationCode() {
return escalationCode;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | getEscalationCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public PvmActivity getEscalationHandler() {
return escalationHandler;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | getEscalationHandler | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public boolean isCancelActivity() {
return cancelActivity;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | isCancelActivity | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public void setEscalationCode(String escalationCode) {
this.escalationCode = escalationCode;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | setEscalationCode | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public String getEscalationCodeVariable() {
return escalationCodeVariable;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | getEscalationCodeVariable | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public void setEscalationCodeVariable(String escalationCodeVariable) {
this.escalationCodeVariable = escalationCodeVariable;
} | Represents an escalation event definition that reference an 'escalation' element.
@author Philipp Ossler | setEscalationCodeVariable | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EscalationEventDefinition.java | Apache-2.0 |
public String getUnresolvedEventName() {
return eventName.getExpressionText();
} | Returns the name of the event without evaluating the possible expression that it might contain. | getUnresolvedEventName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public boolean hasEventName() {
return !( eventName == null || "".equalsIgnoreCase(getUnresolvedEventName().trim()) );
} | Returns the name of the event without evaluating the possible expression that it might contain. | hasEventName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public boolean isEventNameLiteralText() {
return eventName.isLiteralText();
} | Returns the name of the event without evaluating the possible expression that it might contain. | isEventNameLiteralText | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public boolean isAsync() {
return async;
} | Returns the name of the event without evaluating the possible expression that it might contain. | isAsync | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void setAsync(boolean async) {
this.async = async;
} | Returns the name of the event without evaluating the possible expression that it might contain. | setAsync | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public String getActivityId() {
return activityId;
} | Returns the name of the event without evaluating the possible expression that it might contain. | getActivityId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void setActivityId(String activityId) {
this.activityId = activityId;
} | Returns the name of the event without evaluating the possible expression that it might contain. | setActivityId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public String getEventScopeActivityId() {
return eventScopeActivityId;
} | Returns the name of the event without evaluating the possible expression that it might contain. | getEventScopeActivityId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void setEventScopeActivityId(String eventScopeActivityId) {
this.eventScopeActivityId = eventScopeActivityId;
} | Returns the name of the event without evaluating the possible expression that it might contain. | setEventScopeActivityId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public boolean isStartEvent() {
return isStartEvent;
} | Returns the name of the event without evaluating the possible expression that it might contain. | isStartEvent | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void setStartEvent(boolean isStartEvent) {
this.isStartEvent = isStartEvent;
} | Returns the name of the event without evaluating the possible expression that it might contain. | setStartEvent | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public String getEventType() {
return eventType.name();
} | Returns the name of the event without evaluating the possible expression that it might contain. | getEventType | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public CallableElement getEventPayload() {
return eventPayload;
} | Returns the name of the event without evaluating the possible expression that it might contain. | getEventPayload | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void setJobDeclaration(EventSubscriptionJobDeclaration jobDeclaration) {
this.jobDeclaration = jobDeclaration;
} | Returns the name of the event without evaluating the possible expression that it might contain. | setJobDeclaration | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public EventSubscriptionEntity createSubscriptionForStartEvent(ProcessDefinitionEntity processDefinition) {
EventSubscriptionEntity eventSubscriptionEntity = new EventSubscriptionEntity(eventType);
VariableScope scopeForExpression = StartProcessVariableScope.getSharedInstance();
String eventName = resolveE... | Returns the name of the event without evaluating the possible expression that it might contain. | createSubscriptionForStartEvent | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public EventSubscriptionEntity createSubscriptionForExecution(ExecutionEntity execution) {
EventSubscriptionEntity eventSubscriptionEntity = new EventSubscriptionEntity(execution, eventType);
String eventName = resolveExpressionOfEventName(execution);
eventSubscriptionEntity.setEventName(eventName);
if... | Creates and inserts a subscription entity depending on the message type of this declaration. | createSubscriptionForExecution | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public String resolveExpressionOfEventName(VariableScope scope) {
if (isExpressionAvailable()) {
if(scope instanceof BaseDelegateExecution) {
// the variable scope execution is also the current context execution
// during expression evaluation the current context is updated with the scope exec... | Resolves the event name within the given scope. | resolveExpressionOfEventName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
protected boolean isExpressionAvailable() {
return eventName != null;
} | Resolves the event name within the given scope. | isExpressionAvailable | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public void updateSubscription(EventSubscriptionEntity eventSubscription) {
String eventName = resolveExpressionOfEventName(eventSubscription.getExecution());
eventSubscription.setEventName(eventName);
eventSubscription.setActivityId(activityId);
} | Resolves the event name within the given scope. | updateSubscription | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/EventSubscriptionDeclaration.java | Apache-2.0 |
public String getName() {
return name;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | getName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public void setName(String name) {
this.name = name;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | setName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public String getType() {
return type;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | getType | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public void setType(String type) {
this.type = type;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | setType | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public Object getValue() {
return value;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | getValue | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public void setValue(Object value) {
this.value = value;
} | Represents a field declaration in object form:
<field name='someField> <string ...
@author Joram Barrez
@author Frederik Heremans | setValue | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/FieldDeclaration.java | Apache-2.0 |
public String getId() {
return this.id;
} | Implementation of the BPMN 2.0 'message'
@author Esteban Robles Luna | getId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/MessageDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/MessageDefinition.java | Apache-2.0 |
public Expression getExpression() {
return name;
} | Implementation of the BPMN 2.0 'message'
@author Esteban Robles Luna | getExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/MessageDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/MessageDefinition.java | Apache-2.0 |
@Override
public String getResourceName() {
return resourceName;
} | Resource report created during resource parsing | getResourceName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | Apache-2.0 |
public List<Problem> getErrors() {
return errors;
} | Resource report created during resource parsing | getErrors | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | Apache-2.0 |
public List<Problem> getWarnings() {
return warnings;
} | Resource report created during resource parsing | getWarnings | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/ResourceReportImpl.java | Apache-2.0 |
public String getId() {
return id;
} | Represents a bpmn signal definition
@author Daniel Meyer | getId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | Apache-2.0 |
public void setId(String id) {
this.id = id;
} | Represents a bpmn signal definition
@author Daniel Meyer | setId | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | Apache-2.0 |
public String getName() {
return name.getExpressionText();
} | Represents a bpmn signal definition
@author Daniel Meyer | getName | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | Apache-2.0 |
public Expression getExpression() {
return name;
} | Represents a bpmn signal definition
@author Daniel Meyer | getExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | Apache-2.0 |
public void setExpression(Expression name) {
this.name = name;
} | Represents a bpmn signal definition
@author Daniel Meyer | setExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/SignalDefinition.java | Apache-2.0 |
public TimeZone getTimeZone() {
if (timeZone == null) {
timeZone = TimeZone.getDefault();
}
return timeZone;
} | Returns the time zone for which this <code>CronExpression</code>
will be resolved. | getTimeZone | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
public String toString() {
return cronExpression;
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | toString | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected void buildExpression(String expression) throws ParseException {
expressionParsed = true;
try {
if (seconds == null) {
seconds = new TreeSet<Integer>();
}
if (minutes == null) {
minutes = new TreeSet<Integer>();
}... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | buildExpression | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int storeExpressionVals(int pos, String s, int type)
throws ParseException {
int incr = 0;
int i = skipWhiteSpace(pos, s);
if (i >= s.length()) {
return i;
}
char c = s.charAt(i);
if ((c >= 'A') && (c <= 'Z') && (!s.equals("L")) && (!s.equal... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | storeExpressionVals | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int checkNext(int pos, String s, int val, int type)
throws ParseException {
int end = -1;
int i = pos;
if (i >= s.length()) {
addToSet(val, end, -1, type);
return i;
}
char c = s.charAt(pos);
if (c == 'L') {
if (ty... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | checkNext | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int skipWhiteSpace(int i, String s) {
for (; i < s.length() && (s.charAt(i) == ' ' || s.charAt(i) == '\t'); i++) {
}
return i;
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | skipWhiteSpace | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int findNextWhiteSpace(int i, String s) {
for (; i < s.length() && (s.charAt(i) != ' ' || s.charAt(i) != '\t'); i++) {
}
return i;
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | findNextWhiteSpace | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected void addToSet(int val, int end, int incr, int type)
throws ParseException {
TreeSet<Integer> set = getSet(type);
if (type == SECOND || type == MINUTE) {
if ((val < 0 || val > 59 || end > 59) && (val != ALL_SPEC_INT)) {
throw new ParseException(
... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | addToSet | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected TreeSet<Integer> getSet(int type) {
switch (type) {
case SECOND:
return seconds;
case MINUTE:
return minutes;
case HOUR:
return hours;
case DAY_OF_MONTH:
return daysOfMonth;
case... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getSet | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected ValueSet getValue(int v, String s, int i) {
char c = s.charAt(i);
StringBuilder s1 = new StringBuilder(String.valueOf(v));
while (c >= '0' && c <= '9') {
s1.append(c);
i++;
if (i >= s.length()) {
break;
}
c = s... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getValue | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int getNumericValue(String s, int i) {
int endOfVal = findNextWhiteSpace(i, s);
String val = s.substring(i, endOfVal);
return Integer.parseInt(val);
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getNumericValue | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int getMonthNumber(String s) {
Integer integer = (Integer) monthMap.get(s);
if (integer == null) {
return -1;
}
return integer.intValue();
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getMonthNumber | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int getDayOfWeekNumber(String s) {
Integer integer = (Integer) dayMap.get(s);
if (integer == null) {
return -1;
}
return integer.intValue();
} | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getDayOfWeekNumber | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
public Date getTimeAfter(Date afterTime) {
// Computation is based on Gregorian year only.
Calendar cl = new java.util.GregorianCalendar(getTimeZone());
// move ahead one second, since we're computing the time *after* the
// given time
afterTime = new Date(afterTime.getTime() +... | Returns the string representation of the <CODE>CronExpression</CODE>
@return a string representation of the <CODE>CronExpression</CODE> | getTimeAfter | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected void setCalendarHour(Calendar cal, int hour) {
cal.set(java.util.Calendar.HOUR_OF_DAY, hour);
if (cal.get(java.util.Calendar.HOUR_OF_DAY) != hour && hour != 24) {
cal.set(java.util.Calendar.HOUR_OF_DAY, hour + 1);
}
} | Advance the calendar to the particular hour paying particular attention
to daylight saving problems.
@param cal
@param hour | setCalendarHour | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected boolean isLeapYear(int year) {
return ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0));
} | Advance the calendar to the particular hour paying particular attention
to daylight saving problems.
@param cal
@param hour | isLeapYear | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
protected int getLastDayOfMonth(int monthNum, int year) {
switch (monthNum) {
case 1:
return 31;
case 2:
return (isLeapYear(year)) ? 29 : 28;
case 3:
return 31;
case 4:
return 30;
case 5:... | Advance the calendar to the particular hour paying particular attention
to daylight saving problems.
@param cal
@param hour | getLastDayOfMonth | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/CronExpression.java | Apache-2.0 |
private static DateTimeFormatter getDataTimeFormater() {
if (DATE_TIME_FORMATER == null) {
DATE_TIME_FORMATER = ISODateTimeFormat.dateTimeParser().withZone(JVM_DEFAULT_DATE_TIME_ZONE);
}
return DATE_TIME_FORMATER;
} | Utility for {@link DateTime} that uses the JVM timezone
for date / time related operations.
This is important as the JVM timezone and the system timezone may
differ which leads to different behavior in
{@link java.text.SimpleDateFormat} (using JVM default timezone) and
JODA time (using system default timezone).
@auth... | getDataTimeFormater | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | Apache-2.0 |
public static DateTime now() {
return new DateTime(JVM_DEFAULT_DATE_TIME_ZONE);
} | Utility for {@link DateTime} that uses the JVM timezone
for date / time related operations.
This is important as the JVM timezone and the system timezone may
differ which leads to different behavior in
{@link java.text.SimpleDateFormat} (using JVM default timezone) and
JODA time (using system default timezone).
@auth... | now | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | Apache-2.0 |
public static DateTime parseDateTime(String date) {
return getDataTimeFormater().parseDateTime(date);
} | Utility for {@link DateTime} that uses the JVM timezone
for date / time related operations.
This is important as the JVM timezone and the system timezone may
differ which leads to different behavior in
{@link java.text.SimpleDateFormat} (using JVM default timezone) and
JODA time (using system default timezone).
@auth... | parseDateTime | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | Apache-2.0 |
public static Date parseDate(String date) {
return parseDateTime(date).toDate();
} | Utility for {@link DateTime} that uses the JVM timezone
for date / time related operations.
This is important as the JVM timezone and the system timezone may
differ which leads to different behavior in
{@link java.text.SimpleDateFormat} (using JVM default timezone) and
JODA time (using system default timezone).
@auth... | parseDate | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DateTimeUtil.java | Apache-2.0 |
public Date getDateAfter() {
return getDateAfter(null);
} | helper class for parsing ISO8601 duration format (also recurring) and computing next timer date | getDateAfter | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | Apache-2.0 |
public Date getDateAfter(Date date) {
if (isRepeat) {
return getDateAfterRepeat(date == null ? ClockUtil.getCurrentTime() : date);
}
//TODO: is this correct?
if (end != null) {
return end;
}
return add(start, period);
} | helper class for parsing ISO8601 duration format (also recurring) and computing next timer date | getDateAfter | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | Apache-2.0 |
public int getTimes() {
return times;
} | helper class for parsing ISO8601 duration format (also recurring) and computing next timer date | getTimes | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | Apache-2.0 |
public boolean isRepeat() {
return isRepeat;
} | helper class for parsing ISO8601 duration format (also recurring) and computing next timer date | isRepeat | java | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.