@Extension
@Symbol(value="clifGlobalConfig")
public class ClifPlugin
extends jenkins.model.GlobalConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ROOT_DIR |
Constructor and Description |
---|
ClifPlugin()
Just calls
load() |
Modifier and Type | Method and Description |
---|---|
File |
dir()
Returns the File object representing the configured clif root directory
in its absolute path form.
|
hudson.util.FormValidation |
doCheckClifRootDir(String value)
Validates a CLIF root folder.
|
static ClifPlugin |
get()
Get the ClifPlugin singleton managing CLIF's global parameters
|
String |
getClifRootDir()
Gets current value of CLIF root directory
where CLIF archives are unzipped.
|
void |
load()
Loads the currently configured values
|
void |
setClifRootDir(String clifRootDir)
Configures a new value for CLIF root directory
where CLIF archives are unzipped.
|
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public static final String DEFAULT_ROOT_DIR
public ClifPlugin()
load()
@CheckForNull public static ClifPlugin get()
public void load()
load
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
public String getClifRootDir()
public void setClifRootDir(String clifRootDir)
clifRootDir
- the new root directory for
imported CLIF projects. If blank, the new value is set
to the default value "clif"@Nonnull public File dir()
public hudson.util.FormValidation doCheckClifRootDir(@QueryParameter String value)
value
- the new value for CLIF root folderCopyright © 2016–2017 CLIF project. All rights reserved.