Package org.flowable.app.rest
Class AppRestUrls
- java.lang.Object
-
- org.flowable.app.rest.AppRestUrls
-
public final class AppRestUrls extends Object
- Author:
- Tijs Rademmakers
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEGMENT_APP_DEFINITIONS_RESOURCESstatic StringSEGMENT_APP_MODELstatic StringSEGMENT_DEPLOYMENT_ARTIFACT_RESOURCEstatic StringSEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENTstatic StringSEGMENT_DEPLOYMENT_RESOURCESstatic StringSEGMENT_QUERY_RESOURCESstatic StringSEGMENT_REPOSITORY_RESOURCESstatic String[]URL_APP_DEFINITIONURL template for a single app: /app-repository/app-definitions/{0:appDefinitionId}static String[]URL_APP_DEFINITION_COLLECTIONURL template for an app collection: /app-repository/app-definitionsstatic String[]URL_APP_DEFINITION_MODELURL template for a single app model: /app-repository/app-definitions/{0:appDefinitionId}/modelstatic String[]URL_APP_DEFINITION_RESOURCE_CONTENTURL template for the resource of a single app: /app-repository/app-definitions/{0:appDefinitionId}/resourcedatastatic String[]URL_DEPLOYMENTURL template for a single deployment: /app-repository/deployments/{0:deploymentId}static String[]URL_DEPLOYMENT_COLLECTIONURL template for a deployment collection: /app-repository/deploymentsstatic String[]URL_DEPLOYMENT_RESOURCEURL template for a single deployment resource: app-repository/deployments/{0:deploymentId}/resources/{1}:resourceIdstatic String[]URL_DEPLOYMENT_RESOURCE_CONTENTURL template for the resource of a single deployment: /app-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId}static String[]URL_DEPLOYMENT_RESOURCESURL template listing deployment resources: app-repository/deployments/{0:deploymentId}/resources
-
Constructor Summary
Constructors Constructor Description AppRestUrls()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcreateRelativeResourceUrl(String[] segments, Object... arguments)Creates an url based on the passed fragments and replaces any placeholders with the given arguments.
-
-
-
Field Detail
-
SEGMENT_REPOSITORY_RESOURCES
public static final String SEGMENT_REPOSITORY_RESOURCES
- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_RESOURCES
public static final String SEGMENT_DEPLOYMENT_RESOURCES
- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
public static final String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE
- See Also:
- Constant Field Values
-
SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
public static final String SEGMENT_DEPLOYMENT_ARTIFACT_RESOURCE_CONTENT
- See Also:
- Constant Field Values
-
SEGMENT_APP_DEFINITIONS_RESOURCES
public static final String SEGMENT_APP_DEFINITIONS_RESOURCES
- See Also:
- Constant Field Values
-
SEGMENT_APP_MODEL
public static final String SEGMENT_APP_MODEL
- See Also:
- Constant Field Values
-
SEGMENT_QUERY_RESOURCES
public static final String SEGMENT_QUERY_RESOURCES
- See Also:
- Constant Field Values
-
URL_APP_DEFINITION_COLLECTION
public static final String[] URL_APP_DEFINITION_COLLECTION
URL template for an app collection: /app-repository/app-definitions
-
URL_APP_DEFINITION
public static final String[] URL_APP_DEFINITION
URL template for a single app: /app-repository/app-definitions/{0:appDefinitionId}
-
URL_APP_DEFINITION_MODEL
public static final String[] URL_APP_DEFINITION_MODEL
URL template for a single app model: /app-repository/app-definitions/{0:appDefinitionId}/model
-
URL_APP_DEFINITION_RESOURCE_CONTENT
public static final String[] URL_APP_DEFINITION_RESOURCE_CONTENT
URL template for the resource of a single app: /app-repository/app-definitions/{0:appDefinitionId}/resourcedata
-
URL_DEPLOYMENT_COLLECTION
public static final String[] URL_DEPLOYMENT_COLLECTION
URL template for a deployment collection: /app-repository/deployments
-
URL_DEPLOYMENT
public static final String[] URL_DEPLOYMENT
URL template for a single deployment: /app-repository/deployments/{0:deploymentId}
-
URL_DEPLOYMENT_RESOURCES
public static final String[] URL_DEPLOYMENT_RESOURCES
URL template listing deployment resources: app-repository/deployments/{0:deploymentId}/resources
-
URL_DEPLOYMENT_RESOURCE
public static final String[] URL_DEPLOYMENT_RESOURCE
URL template for a single deployment resource: app-repository/deployments/{0:deploymentId}/resources/{1}:resourceId
-
URL_DEPLOYMENT_RESOURCE_CONTENT
public static final String[] URL_DEPLOYMENT_RESOURCE_CONTENT
URL template for the resource of a single deployment: /app-repository/deployments/{0:deploymentId}/resourcedata/{1:resourceId}
-
-
Method Detail
-
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 theMessageFormatconvention (eg. {0} is replaced by first argument value).
-
-