Package com.polarion.alm.projects
Interface IProjectTemplate
public interface IProjectTemplate
The template properties are specified in
template.properties
file in the template directory root. These keys are recognized:
nameTemplate namedescriptionTemplate descriptionparametersNames of parameters required for project creation. Separated by ';'. The parameter names might contain letters, '-' and '_'. The names are case sensitive.skipList of files/directories to exclude from copy (template.propertiesis excluded automatically). Names do not start with '/'.processList of text files where the parameters will be substituted during project creation (files are separated by ';'). Names do not start with '/'. In these files, occurences of%param-name%string will be replaced with the actual parameter value.
- Author:
- dobisekm
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getName
String getName() -
getDescription
String getDescription() -
getId
String getId() -
isDefault
boolean isDefault()If true template is from module- Returns:
- true if template is from module
- Since:
- 3.5
-
getParametersIDs
String getParametersIDs()- Returns:
- parameter IDs in string or null if there are none
- Since:
- 3.5
-
getParameters
IProjectTemplate.Parameter[] getParameters()Returns theParameters for thisIProjectTemplate. The parameter names might contain letters, '-' and '_'. The names are case sensitive.- Returns:
- the
Parameters for this template
-
getDistributions
GetSetof distributions for this template -
isAvailableForCurrentUser
boolean isAvailableForCurrentUser()Return available for current user- Returns:
- true if current template licenses make it available for current user
- Since:
- 3.5
-
getCustomIco
String getCustomIco()Return name of custom ico included in template- Returns:
- Name of ico, i.e. icon.png or null if no ico was found
- Since:
- 3.5
-