Class CmmnRestUrls

java.lang.Object
org.flowable.cmmn.rest.service.api.CmmnRestUrls

public final class CmmnRestUrls extends Object
Author:
Frederik Heremans
  • Field Details

    • SEGMENT_REPOSITORY_RESOURCES

      public static final String SEGMENT_REPOSITORY_RESOURCES
      Base segment for all repository-related resources: repository
      See Also:
    • SEGMENT_RUNTIME_RESOURCES

      public static final String SEGMENT_RUNTIME_RESOURCES
      See Also:
    • SEGMENT_MANAGEMENT_RESOURCES

      public static final String SEGMENT_MANAGEMENT_RESOURCES
      See Also:
    • SEGMENT_HISTORY_RESOURCES

      public static final String SEGMENT_HISTORY_RESOURCES
      See Also:
    • SEGMENT_QUERY_RESOURCES

      public static final String SEGMENT_QUERY_RESOURCES
      See Also:
    • SEGMENT_DEPLOYMENT_RESOURCE

      public static final String SEGMENT_DEPLOYMENT_RESOURCE
      See Also:
    • SEGMENT_CASE_DEFINITION_RESOURCE

      public static final String SEGMENT_CASE_DEFINITION_RESOURCE
      See Also:
    • SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE

      public static final String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
      See Also:
    • SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT

      public static final String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
      See Also:
    • SEGMENT_TASK_RESOURCE

      public static final String SEGMENT_TASK_RESOURCE
      See Also:
    • SEGMENT_CASE_INSTANCE_RESOURCE

      public static final String SEGMENT_CASE_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_PLAN_ITEM_INSTANCE_RESOURCE

      public static final String SEGMENT_PLAN_ITEM_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_VARIABLES

      public static final String SEGMENT_VARIABLES
      See Also:
    • SEGMENT_VARIABLE_INSTANCE_RESOURCE

      public static final String SEGMENT_VARIABLE_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_EVENT_SUBSCRIPTIONS

      public static final String SEGMENT_EVENT_SUBSCRIPTIONS
      See Also:
    • SEGMENT_SUBTASKS

      public static final String SEGMENT_SUBTASKS
      See Also:
    • SEGMENT_EVENTS

      public static final String SEGMENT_EVENTS
      See Also:
    • SEGMENT_FORM

      public static final String SEGMENT_FORM
      See Also:
    • SEGMENT_VARIABLE_DATA

      public static final String SEGMENT_VARIABLE_DATA
      See Also:
    • SEGMENT_HISTORIC_CASE_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_CASE_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_TASK_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_TASK_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_ACTIVITY_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_ACTIVITY_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_VARIABLE_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_VARIABLE_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_MILESTONE_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_MILESTONE_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_PLANITEM_INSTANCE_RESOURCE

      public static final String SEGMENT_HISTORIC_PLANITEM_INSTANCE_RESOURCE
      See Also:
    • SEGMENT_HISTORIC_DETAIL_RESOURCE

      public static final String SEGMENT_HISTORIC_DETAIL_RESOURCE
      See Also:
    • SEGMENT_FORM_DATA

      public static final String SEGMENT_FORM_DATA
      See Also:
    • SEGMENT_TABLES

      public static final String SEGMENT_TABLES
      See Also:
    • SEGMENT_COLUMNS

      public static final String SEGMENT_COLUMNS
      See Also:
    • SEGMENT_DATA

      public static final String SEGMENT_DATA
      See Also:
    • SEGMENT_JOBS

      public static final String SEGMENT_JOBS
      See Also:
    • SEGMENT_TIMER_JOBS

      public static final String SEGMENT_TIMER_JOBS
      See Also:
    • SEGMENT_SUSPENDED_JOBS

      public static final String SEGMENT_SUSPENDED_JOBS
      See Also:
    • SEGMENT_DEADLETTER_JOBS

      public static final String SEGMENT_DEADLETTER_JOBS
      See Also:
    • SEGMENT_HISTORY_JOBS

      public static final String SEGMENT_HISTORY_JOBS
      See Also:
    • SEGMENT_JOB_EXCEPTION_STACKTRACE

      public static final String SEGMENT_JOB_EXCEPTION_STACKTRACE
      See Also:
    • SEGMENT_USERS

      public static final String SEGMENT_USERS
      See Also:
    • SEGMENT_GROUPS

      public static final String SEGMENT_GROUPS
      See Also:
    • SEGMENT_PICTURE

      public static final String SEGMENT_PICTURE
      See Also:
    • SEGMENT_INFO

      public static final String SEGMENT_INFO
      See Also:
    • SEGMENT_MEMBERS

      public static final String SEGMENT_MEMBERS
      See Also:
    • SEGMENT_MODEL

      public static final String SEGMENT_MODEL
      See Also:
    • SEGMENT_PROPERTIES

      public static final String SEGMENT_PROPERTIES
      See Also:
    • SEGMENT_ENGINE_INFO

      public static final String SEGMENT_ENGINE_INFO
      See Also:
    • SEGMENT_ACTIVITIES

      public static final String SEGMENT_ACTIVITIES
      See Also:
    • SEGMENT_MODEL_RESOURCE

      public static final String SEGMENT_MODEL_RESOURCE
      See Also:
    • SEGMENT_SOURCE

      public static final String SEGMENT_SOURCE
      See Also:
    • SEGMENT_SOURCE_EXTRA

      public static final String SEGMENT_SOURCE_EXTRA
      See Also:
    • SEGMENT_DIAGRAM

      public static final String SEGMENT_DIAGRAM
      See Also:
    • SEGMENT_SIGNALS

      public static final String SEGMENT_SIGNALS
      See Also:
    • SEGMENT_IMAGE

      public static final String SEGMENT_IMAGE
      See Also:
    • SEGMENT_START_FORM

      public static final String SEGMENT_START_FORM
      See Also:
    • SEGMENT_DECISIONS

      public static final String SEGMENT_DECISIONS
      See Also:
    • SEGMENT_FORM_DEFINITIONS

      public static final String SEGMENT_FORM_DEFINITIONS
      See Also:
    • SEGMENT_STAGE_OVERVIEW

      public static final String SEGMENT_STAGE_OVERVIEW
      See Also:
    • SEGMENT_CHANGE_STATE

      public static final String SEGMENT_CHANGE_STATE
      See Also:
    • URL_DEPLOYMENT_COLLECTION

      public static final String[] URL_DEPLOYMENT_COLLECTION
      URL template for the deployment collection: cmmn-repository/deployments
    • URL_DEPLOYMENT

      public static final String[] URL_DEPLOYMENT
      URL template for a single deployment: cmmn-repository/deployments/{0:deploymentId}
    • URL_DEPLOYMENT_RESOURCES

      public static final String[] URL_DEPLOYMENT_RESOURCES
      URL template listing deployment resources: cmmn-repository/deployments/{0:deploymentId}/resources
    • URL_DEPLOYMENT_RESOURCE

      public static final String[] URL_DEPLOYMENT_RESOURCE
      URL template for a single deployment resource: cmmn-repository/deployments/{0:deploymentId}/resources/{1}:resourceId
    • URL_DEPLOYMENT_RESOURCE_CONTENT

      public static final String[] URL_DEPLOYMENT_RESOURCE_CONTENT
      URL template for a single deployment resource content: cmmn-repository/deployments /{0:deploymentId}/resourcedata/{1}:resourceId
    • URL_CASE_DEFINITION_COLLECTION

      public static final String[] URL_CASE_DEFINITION_COLLECTION
      URL template for the process definition collection: cmmn-repository/process-definitions
    • URL_CASE_DEFINITION

      public static final String[] URL_CASE_DEFINITION
      URL template for a single case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}
    • URL_CASE_DEFINITION_RESOURCE_CONTENT

      public static final String[] URL_CASE_DEFINITION_RESOURCE_CONTENT
      URL template for the resource of a single case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}/resourcedata
    • URL_CASE_DEFINITION_START_FORM

      public static final String[] URL_CASE_DEFINITION_START_FORM
      URL template for the start form of a case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}/start-form
    • URL_CASE_DEFINITION_IMAGE

      public static final String[] URL_CASE_DEFINITION_IMAGE
      URL template for the image of a case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}/image
    • URL_CASE_DEFINITION_DECISION_COLLECTION

      public static final String[] URL_CASE_DEFINITION_DECISION_COLLECTION
      URL template for the image of a case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}/decisions
    • URL_CASE_DEFINITION_FORM_DEFINITIONS_COLLECTION

      public static final String[] URL_CASE_DEFINITION_FORM_DEFINITIONS_COLLECTION
      URL template for the image of a case definition: cmmn-repository/case-definitions/{0:caseDefinitionId}/form-definitions
    • URL_TASK_COLLECTION

      public static final String[] URL_TASK_COLLECTION
      URL template for task collection: runtime/tasks
    • URL_TASK_QUERY

      public static final String[] URL_TASK_QUERY
      URL template for task query: query/tasks
    • URL_TASK

      public static final String[] URL_TASK
      URL template for a single task: runtime/tasks/{0:taskId}
    • URL_TASK_SUBTASKS_COLLECTION

      public static final String[] URL_TASK_SUBTASKS_COLLECTION
      URL template for a task's sub tasks: runtime/tasks/{0:taskId}/subtasks
    • URL_TASK_VARIABLES_COLLECTION

      public static final String[] URL_TASK_VARIABLES_COLLECTION
      URL template for a task's variables: runtime/tasks/{0:taskId}/variables
    • URL_TASK_VARIABLE

      public static final String[] URL_TASK_VARIABLE
      URL template for a single task variable: runtime/tasks/{0:taskId}/variables/{1:variableName}
    • URL_TASK_VARIABLE_DATA

      public static final String[] URL_TASK_VARIABLE_DATA
      URL template for a single task variable content: runtime/tasks/{0:taskId}/variables/{1:variableName}/data
    • URL_TASK_FORM

      public static final String[] URL_TASK_FORM
      URL template for a task form: runtime/tasks/{0:taskId}/form
    • URL_TASK_EVENT_COLLECTION

      public static final String[] URL_TASK_EVENT_COLLECTION
      URL template for an task's events: runtime/tasks/{0:taskId}/events
    • URL_TASK_EVENT

      public static final String[] URL_TASK_EVENT
      URL template for an event on a task: runtime/tasks/{0:taskId}/events/{1:eventId}
    • URL_CASE_INSTANCE_COLLECTION

      public static final String[] URL_CASE_INSTANCE_COLLECTION
      URL template for process instance collection: runtime/case-instances
    • URL_CASE_INSTANCE_QUERY

      public static final String[] URL_CASE_INSTANCE_QUERY
      URL template for process instance query: query/case-instances
    • URL_CASE_INSTANCE

      public static final String[] URL_CASE_INSTANCE
      URL template for a single case instance: cmmn-runtime/case-instances/{0:caseInstanceId}
    • URL_CASE_INSTANCE_DIAGRAM

      public static final String[] URL_CASE_INSTANCE_DIAGRAM
      URL template for the diagram for a single CASE instance: cmmn-runtime/case-instances/{0:caseInstanceId}/diagram
    • URL_CASE_INSTANCE_VARIABLE_COLLECTION

      public static final String[] URL_CASE_INSTANCE_VARIABLE_COLLECTION
      URL template for case instance variable collection: cmmn-runtime/case-instances/{0:processInstanceId}/variables
    • URL_CASE_INSTANCE_VARIABLE

      public static final String[] URL_CASE_INSTANCE_VARIABLE
      URL template for a single case instance variable: cmmn-runtime/case-instances /{0:caseInstanceId}/variables/{1:variableName}
    • URL_CASE_INSTANCE_VARIABLE_DATA

      public static final String[] URL_CASE_INSTANCE_VARIABLE_DATA
      URL template for a single case instance variable data: cmmn-runtime/case-instances/{0:processInstanceId}/variables/{1:variableName}/data
    • URL_CASE_INSTANCE_STAGE_OVERVIEW

      public static final String[] URL_CASE_INSTANCE_STAGE_OVERVIEW
      URL template for a single case instance stage overview: cmmn-runtime/case-instances/{0:caseInstanceId}/stage-overview
    • URL_CASE_INSTANCE_CHANGE_STATE

      public static final String[] URL_CASE_INSTANCE_CHANGE_STATE
      URL template for a single case instance change state: cmmn-runtime/case-instances/{0:caseInstanceId}/change-state
    • URL_PLAN_ITEM_INSTANCE_COLLECTION

      public static final String[] URL_PLAN_ITEM_INSTANCE_COLLECTION
      URL template for plan item instance collection: cmmn-runtime/plan-item-instances
    • URL_PLAN_ITEM_INSTANCE_QUERY

      public static final String[] URL_PLAN_ITEM_INSTANCE_QUERY
      URL template for process instance query: cmmn-query/plan-item-instances
    • URL_PLAN_ITEM_INSTANCE

      public static final String[] URL_PLAN_ITEM_INSTANCE
      URL template for a single case instance: cmmn-runtime/plan-item-instances/{0:planItemInstanceId}
    • URL_PLAN_ITEM_INSTANCE_VARIABLES

      public static final String[] URL_PLAN_ITEM_INSTANCE_VARIABLES
      URL template for plan item instance variables: cmmn-runtime/plan-item-instances/{0:planItemInstanceId}/variables
    • URL_PLAN_ITEM_INSTANCE_VARIABLE

      public static final String[] URL_PLAN_ITEM_INSTANCE_VARIABLE
      URL template for a single plan item instance variable: cmmn-runtime/plan-item-instances/{0:planItemInstanceId}/variables/{1:variableName}
    • URL_PLAN_ITEM_INSTANCE_VARIABLE_DATA

      public static final String[] URL_PLAN_ITEM_INSTANCE_VARIABLE_DATA
      URL template for a single case instance: cmmn-runtime/plan-item-instances/{0:planItemInstanceId}/variables/{1:variableName}/data
    • URL_VARIABLE_INSTANCES

      public static final String[] URL_VARIABLE_INSTANCES
      URL template for variable instance query: cmmn-runtime/variable-instances
    • URL_VARIABLE_INSTANCE_DATA

      public static final String[] URL_VARIABLE_INSTANCE_DATA
      URL template for a single variable instance data: cmmn-runtime/variable-instances/{0:varInstanceId}/data
    • URL_JOB

      public static final String[] URL_JOB
      URL template for a single job: cmmn-management/jobs/{0:jobId}
    • URL_TIMER_JOB

      public static final String[] URL_TIMER_JOB
      URL template for a single job: cmmn-management/timer-jobs/{0:jobId}
    • URL_SUSPENDED_JOB

      public static final String[] URL_SUSPENDED_JOB
      URL template for a single job: cmmn-management/suspended-jobs/{0:jobId}
    • URL_DEADLETTER_JOB

      public static final String[] URL_DEADLETTER_JOB
      URL template for a single job: cmmn-management/deadletter-jobs/{0:jobId}
    • URL_HISTORY_JOB

      public static final String[] URL_HISTORY_JOB
      URL template for a single job: cmmn-management/history-jobs/{0:jobId}
    • URL_JOB_EXCEPTION_STRACKTRACE

      public static final String[] URL_JOB_EXCEPTION_STRACKTRACE
      URL template for the stacktrace of a single job: cmmn-management/jobs/{0:jobId}/exception-stacktrace
    • URL_TIMER_JOB_EXCEPTION_STRACKTRACE

      public static final String[] URL_TIMER_JOB_EXCEPTION_STRACKTRACE
      URL template for the stacktrace of a single job: cmmn-management/timer-jobs/{jobId}/exception-stacktrace
    • URL_SUSPENDED_JOB_EXCEPTION_STRACKTRACE

      public static final String[] URL_SUSPENDED_JOB_EXCEPTION_STRACKTRACE
      URL template for the stacktrace of a single job: cmmn-management/suspended-jobs/{0:jobId}/exception-stacktrace
    • URL_DEADLETTER_JOB_EXCEPTION_STRACKTRACE

      public static final String[] URL_DEADLETTER_JOB_EXCEPTION_STRACKTRACE
      URL template for the stacktrace of a single job: cmmn-management/deadletter-jobs/{0:jobId}/exception-stacktrace
    • URL_JOB_COLLECTION

      public static final String[] URL_JOB_COLLECTION
      URL template for the collection of jobs: cmmn-management/jobs
    • URL_TIMER_JOB_COLLECTION

      public static final String[] URL_TIMER_JOB_COLLECTION
      URL template for the collection of timer jobs: cmmn-management/timer-jobs
    • URL_SUSPENDED_JOB_COLLECTION

      public static final String[] URL_SUSPENDED_JOB_COLLECTION
      URL template for the collection of timer jobs: cmmn-management/suspended-jobs
    • URL_DEADLETTER_JOB_COLLECTION

      public static final String[] URL_DEADLETTER_JOB_COLLECTION
      URL template for the collection of timer jobs: cmmn-management/deadletter-jobs
    • URL_EVENT_SUBSCRIPTION

      public static final String[] URL_EVENT_SUBSCRIPTION
      URL template for a single event subscription: cmmn-runtime/event-subscriptions/{0:eventSubscriptionId}
    • URL_EVENT_SUBSCRIPTION_COLLECTION

      public static final String[] URL_EVENT_SUBSCRIPTION_COLLECTION
      URL template for the collection of event subscriptions: cmmn-runtime/event-subscriptions
    • URL_HISTORIC_CASE_INSTANCE

      public static final String[] URL_HISTORIC_CASE_INSTANCE
      URL template for a single historic case instance: cmmn-history/historic-case-instances/{0:caseInstanceId}
    • URL_HISTORIC_CASE_INSTANCE_STAGE_OVERVIEW

      public static final String[] URL_HISTORIC_CASE_INSTANCE_STAGE_OVERVIEW
      URL template for a single historic case instance stage overview: cmmn-history/historic-case-instances/{0:caseInstanceId}/stage-overview
    • URL_HISTORIC_CASE_INSTANCES

      public static final String[] URL_HISTORIC_CASE_INSTANCES
      URL template for historic process instance query: cmmn-history/historic-case-instances
    • URL_HISTORIC_CASE_INSTANCE_VARIABLE_DATA

      public static final String[] URL_HISTORIC_CASE_INSTANCE_VARIABLE_DATA
      URL template for historic case instance variables: history/historic-case-instances/{0:caseInstanceId}/variables/{1:variableName}/data
    • URL_HISTORIC_TASK_INSTANCE

      public static final String[] URL_HISTORIC_TASK_INSTANCE
      URL template for a single historic task instance: history/historic-task-instances/{0:taskId}
    • URL_HISTORIC_TASK_INSTANCES

      public static final String[] URL_HISTORIC_TASK_INSTANCES
      URL template for historic task instance query: history/historic-task-instances
    • URL_HISTORIC_TASK_INSTANCE_VARIABLE_DATA

      public static final String[] URL_HISTORIC_TASK_INSTANCE_VARIABLE_DATA
      URL template for a single historic task instance: history/historic-task-instances/{0:taskId}/variables/{1:variableName}/data
    • URL_HISTORIC_TASK_INSTANCE_FORM

      public static final String[] URL_HISTORIC_TASK_INSTANCE_FORM
      URL template for a historic task instance form: history/historic-task-instances/{0:taskId}/form
    • URL_HISTORIC_ACTIVITY_INSTANCES

      public static final String[] URL_HISTORIC_ACTIVITY_INSTANCES
      URL template for historic activity instance query: history/historic-activity-instances
    • URL_HISTORIC_VARIABLE_INSTANCES

      public static final String[] URL_HISTORIC_VARIABLE_INSTANCES
      URL template for historic variable instance query: history/historic-variable-instances
    • URL_HISTORIC_VARIABLE_INSTANCE_DATA

      public static final String[] URL_HISTORIC_VARIABLE_INSTANCE_DATA
      URL template for a single historic variable instance data: history/historic-variable-instances/{0:varInstanceId}/data
    • URL_VARIABLE_INSTANCE_QUERY

      public static final String[] URL_VARIABLE_INSTANCE_QUERY
      URL template for variable instance query: query/variable-instances
    • URL_HISTORIC_MILESTONE_INSTANCE

      public static final String[] URL_HISTORIC_MILESTONE_INSTANCE
      URL template for a single historic milestone instance: cmmn-history/historic-milestone-instances/{0:milestoneId}
    • URL_HISTORIC_MILESTONE_INSTANCES

      public static final String[] URL_HISTORIC_MILESTONE_INSTANCES
      URL template for a single historic milestone instance: cmmn-history/historic-milestone-instances
    • URL_HISTORIC_PLANITEM_INSTANCE

      public static final String[] URL_HISTORIC_PLANITEM_INSTANCE
      URL template for a single historic plan item instance: cmmn-history/historic-planitem-instances/{0:planItemId}
    • URL_HISTORIC_PLANITEM_INSTANCES

      public static final String[] URL_HISTORIC_PLANITEM_INSTANCES
      URL template for a single historic plan item instance: cmmn-history/historic-planitem-instances
    • URL_HISTORIC_CASE_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_CASE_INSTANCE_QUERY
      URL template for historic case instance query: query/historic-case-instances
    • URL_HISTORIC_TASK_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_TASK_INSTANCE_QUERY
      URL template for historic process instance query: query/historic-task-instances
    • URL_HISTORIC_ACTIVITY_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_ACTIVITY_INSTANCE_QUERY
      URL template for historic activity instance query: query/historic-activity-instances
    • URL_HISTORIC_VARIABLE_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_VARIABLE_INSTANCE_QUERY
      URL template for historic variable instance query: query/historic-variable-instances
    • URL_HISTORIC_MILESTONE_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_MILESTONE_INSTANCE_QUERY
      URL template for historic milestone instance query: query/historic-milestone-instances
    • URL_HISTORIC_PLANITEM_INSTANCE_QUERY

      public static final String[] URL_HISTORIC_PLANITEM_INSTANCE_QUERY
      URL template for historic plan item instance query: query/historic-planitem-instances
    • URL_PROPERTIES_COLLECTION

      public static final String[] URL_PROPERTIES_COLLECTION
      URL template for the collection of properties: management/properties
    • URL_ENGINE_INFO

      public static final String[] URL_ENGINE_INFO
      URL template for the collection of properties: management/properties
  • Constructor Details

    • CmmnRestUrls

      public CmmnRestUrls()
  • Method Details

    • createRelativeResourceUrl

      public static String createRelativeResourceUrl(String[] segments, Object... arguments)
      Creates an url based on the passed fragments and replaces any placeholders with the given arguments. The placeholders are following the MessageFormat convention (eg. {0} is replaced by first argument value).