Package com.flowable.app.rest
Class AppRestUrls
java.lang.Object
com.flowable.app.rest.AppRestUrls
public final class AppRestUrls
extends java.lang.Object
- Author:
- Tijs Rademmakers
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEGMENT_APP_DEFINITIONS_RESOURCES
static java.lang.String
SEGMENT_APP_MODEL
static java.lang.String
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
static java.lang.String
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
static java.lang.String
SEGMENT_DEPLOYMENT_RESOURCES
static java.lang.String
SEGMENT_PAGE_DEFINITIONS_RESOURCES
static java.lang.String
SEGMENT_QUERY_RESOURCES
static java.lang.String
SEGMENT_REPOSITORY_RESOURCES
static java.lang.String[]
URL_APP_DEFINITION
URL template for a single app: /app-repository/app-definitions/{0:appDefinitionId}static java.lang.String[]
URL_APP_DEFINITION_COLLECTION
URL template for an app collection: /app-repository/app-definitionsstatic java.lang.String[]
URL_APP_DEFINITION_MODEL
URL template for a single app model: /app-repository/app-definitions/{0:appDefinitionId}/modelstatic java.lang.String[]
URL_APP_DEFINITION_RESOURCE_CONTENT
URL template for the resource of a single app: /app-repository/app-definitions/{0:appDefinitionId}/resourcedatastatic java.lang.String[]
URL_DEPLOYMENT
URL template for a single deployment: /app-repository/deployments/{0:deploymentId}static java.lang.String[]
URL_DEPLOYMENT_COLLECTION
URL template for a deployment collection: /app-repository/deploymentsstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCE
URL template for a single deployment resource: app-repository/deployments/{0:deploymentId}/resources/{1}:resourceIdstatic java.lang.String[]
URL_DEPLOYMENT_RESOURCE_CONTENT
URL template for the resource of a single deployment: /app-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId}static java.lang.String[]
URL_DEPLOYMENT_RESOURCES
URL template listing deployment resources: app-repository/deployments/{0:deploymentId}/resourcesstatic java.lang.String[]
URL_PAGE_DEFINITION
URL template for a single app: /app-repository/page-definitions/{0:pageDefinitionId}static java.lang.String[]
URL_PAGE_DEFINITION_COLLECTION
URL template for an app collection: /app-repository/page-definitionsstatic java.lang.String[]
URL_PAGE_DEFINITION_MODEL
URL template for a single app model: /app-repository/page-definitions/{0:pageDefinitionId}/model -
Constructor Summary
Constructors Constructor Description AppRestUrls()
-
Method Summary
Modifier and Type Method Description static java.lang.String
createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)
Creates an url based on the passed fragments and replaces any placeholders with the given arguments.
-
Field Details
-
SEGMENT_REPOSITORY_RESOURCES
public static final java.lang.String SEGMENT_REPOSITORY_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_RESOURCES
public static final java.lang.String SEGMENT_DEPLOYMENT_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
public static final java.lang.String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
public static final java.lang.String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT- See Also:
- Constant Field Values
-
SEGMENT_APP_DEFINITIONS_RESOURCES
public static final java.lang.String SEGMENT_APP_DEFINITIONS_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_PAGE_DEFINITIONS_RESOURCES
public static final java.lang.String SEGMENT_PAGE_DEFINITIONS_RESOURCES- See Also:
- Constant Field Values
-
SEGMENT_APP_MODEL
public static final java.lang.String SEGMENT_APP_MODEL- See Also:
- Constant Field Values
-
SEGMENT_QUERY_RESOURCES
public static final java.lang.String SEGMENT_QUERY_RESOURCES- See Also:
- Constant Field Values
-
URL_APP_DEFINITION_COLLECTION
public static final java.lang.String[] URL_APP_DEFINITION_COLLECTIONURL template for an app collection: /app-repository/app-definitions -
URL_APP_DEFINITION
public static final java.lang.String[] URL_APP_DEFINITIONURL template for a single app: /app-repository/app-definitions/{0:appDefinitionId} -
URL_APP_DEFINITION_MODEL
public static final java.lang.String[] URL_APP_DEFINITION_MODELURL template for a single app model: /app-repository/app-definitions/{0:appDefinitionId}/model -
URL_APP_DEFINITION_RESOURCE_CONTENT
public static final java.lang.String[] URL_APP_DEFINITION_RESOURCE_CONTENTURL template for the resource of a single app: /app-repository/app-definitions/{0:appDefinitionId}/resourcedata -
URL_PAGE_DEFINITION_COLLECTION
public static final java.lang.String[] URL_PAGE_DEFINITION_COLLECTIONURL template for an app collection: /app-repository/page-definitions -
URL_PAGE_DEFINITION
public static final java.lang.String[] URL_PAGE_DEFINITIONURL template for a single app: /app-repository/page-definitions/{0:pageDefinitionId} -
URL_PAGE_DEFINITION_MODEL
public static final java.lang.String[] URL_PAGE_DEFINITION_MODELURL template for a single app model: /app-repository/page-definitions/{0:pageDefinitionId}/model -
URL_DEPLOYMENT_COLLECTION
public static final java.lang.String[] URL_DEPLOYMENT_COLLECTIONURL template for a deployment collection: /app-repository/deployments -
URL_DEPLOYMENT
public static final java.lang.String[] URL_DEPLOYMENTURL template for a single deployment: /app-repository/deployments/{0:deploymentId} -
URL_DEPLOYMENT_RESOURCES
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCESURL template listing deployment resources: app-repository/deployments/{0:deploymentId}/resources -
URL_DEPLOYMENT_RESOURCE
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCEURL template for a single deployment resource: app-repository/deployments/{0:deploymentId}/resources/{1}:resourceId -
URL_DEPLOYMENT_RESOURCE_CONTENT
public static final java.lang.String[] URL_DEPLOYMENT_RESOURCE_CONTENTURL template for the resource of a single deployment: /app-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId}
-
-
Constructor Details
-
AppRestUrls
public AppRestUrls()
-
-
Method Details
-
createRelativeResourceUrl
public static final java.lang.String createRelativeResourceUrl(java.lang.String[] segments, java.lang.Object... arguments)Creates an url based on the passed fragments and replaces any placeholders with the given arguments. The placeholders are following theMessageFormat
convention (eg. {0} is replaced by first argument value).
-