public class ApplicationCreator extends Object implements Serializable
Application
to be createdApplication
,
Serialized FormConstructor and Description |
---|
ApplicationCreator(String token,
String displayName,
String version)
Creates an instance of
ApplicationCreator containing mandatory information. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<ApplicationField,Serializable> |
getFields()
Retrieves all fields defined in this
ApplicationCreator |
String |
getToken()
Retrieves the
Application token |
int |
hashCode() |
ApplicationCreator |
setDescription(String description)
Defines the
Application description and returns the current ApplicationCreator |
ApplicationCreator |
setIconPath(String iconPath)
Defines the
Application icon path and returns the current ApplicationCreator |
ApplicationCreator |
setProfileId(Long profileId)
Defines the identifier of the
Profile related to this Application and returns the current ApplicationCreator |
public ApplicationCreator(String token, String displayName, String version)
ApplicationCreator
containing mandatory information.
The created Application
will used the default layout.
token
- the Application
token. The token will be part of application URL. It cannot be null or empty and should contain only alpha numeric
characters and the following special characters '-', '.', '_' or '~'. In addition, the following words are reserved key words and cannot be used
as token: 'api', 'content', 'theme'.displayName
- the Application
display name. It cannot be null or emptyversion
- the Application
versionApplication
public String getToken()
Application
tokenApplication
tokenApplication
public ApplicationCreator setDescription(String description)
Application
description and returns the current ApplicationCreator
description
- the Application
descriptionApplicationCreator
Application
public ApplicationCreator setIconPath(String iconPath)
Application
icon path and returns the current ApplicationCreator
iconPath
- the Application
icon pathApplicationCreator
Application
public ApplicationCreator setProfileId(Long profileId)
Profile
related to this Application
and returns the current ApplicationCreator
profileId
- the Profile
identifierApplicationCreator
Application
,
Profile
public Map<ApplicationField,Serializable> getFields()
ApplicationCreator
Map
<ApplicationField
, Serializable
> containing all fields defined in this ApplicationCreator
ApplicationField
Copyright © 2018 Bonitasoft S.A.. All rights reserved.