public class ApplicationCreator extends Object implements Serializable
Application to be createdApplication,
Serialized Form| Constructor 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 versionApplicationpublic String getToken()
Application tokenApplication tokenApplicationpublic ApplicationCreator setDescription(String description)
Application description and returns the current ApplicationCreatordescription - the Application descriptionApplicationCreatorApplicationpublic ApplicationCreator setIconPath(String iconPath)
Application icon path and returns the current ApplicationCreatoriconPath - the Application icon pathApplicationCreatorApplicationpublic ApplicationCreator setProfileId(Long profileId)
Profile related to this Application and returns the current ApplicationCreatorprofileId - the Profile identifierApplicationCreatorApplication,
Profilepublic Map<ApplicationField,Serializable> getFields()
ApplicationCreatorMap<ApplicationField, Serializable> containing all fields defined in this ApplicationCreatorApplicationFieldCopyright © 2018 Bonitasoft S.A.. All rights reserved.