public class Extension extends ExtensionSummary implements IExtension
extEnabled, extName, extRev, extUUID, extVersion, nameSpacerefreshable, server, updateable| Constructor and Description |
|---|
Extension() |
Extension(java.util.Map<java.lang.String,java.lang.Object> map) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get the description of this Extension config.
|
java.util.List<java.lang.String> |
getExtAllowedGroups()
Get groups whose members may configure the Extension.
|
java.util.Map<java.lang.String,java.lang.String> |
getExtConfig()
Get the extension config.
|
java.lang.String |
getExtDebug()
Check if extension diagnostics are enabled.
|
java.lang.String |
getExtDescription()
Get the description of the Extension being configured.
|
java.lang.String |
getExtMaxScriptMem()
Get maximum megabytes the Extension may use.
|
java.lang.String |
getExtMaxScriptTime()
Get maximum seconds the Extension may be run.
|
java.lang.String |
getExtP4USER()
Get Perforce user account for the Extension to use.
|
java.lang.String |
getOwner()
Get the user who created this Extension config.
|
java.lang.String |
getUpdate()
Get update time for the Extension config spec.
|
void |
setDescription(java.lang.String description)
Set the description of this Extension config.
|
void |
setExtAllowedGroups(java.util.List<java.lang.String> extAllowedGroups)
Set groups whose members may configure the Extension.
|
void |
setExtConfig(java.util.Map<java.lang.String,java.lang.String> extConfig)
Set the extension config.
|
void |
setExtDebug(java.lang.String extDebug)
When the 'ExtDebug' field in the instance config is set to
'tracing' (off of the default of 'none'), every execution of
the instance of the Extension will append execution traces to
a log file named '.p4-debug-tracing.txt' in the Extension data
directory.
|
void |
setExtDescription(java.lang.String extDescription)
Set the description of the Extension being configured.
|
void |
setExtMaxScriptMem(java.lang.String extMaxScriptMem)
Set maximum megabytes the Extension may use.
|
void |
setExtMaxScriptTime(java.lang.String extMaxScriptTime)
Set maximum seconds the Extension may be run.
|
void |
setExtP4USER(java.lang.String extP4USER)
Set Perforce user account for the Extension to use.
|
void |
setOwner(java.lang.String owner)
Set the user who created this Extension config.
|
void |
setUpdate(java.lang.String update)
Set update time for the Extension config spec.
|
getExtArchDir, getExtDataDir, getExtDescriptionSnippet, getExtDeveloper, getExtEnabled, getExtGlobalConf, getExtInstanceConf, getExtName, getExtRev, getExtUUID, getExtVersion, getNameSpace, setExtArchDir, setExtDataDir, setExtDescriptionSnippet, setExtDeveloper, setExtEnabled, setExtGlobalConf, setExtInstanceConf, setExtName, setExtRev, setExtUUID, setExtVersion, setNameSpacecanRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, parseDate, refresh, setRawField, setRawFields, setRefreshable, setServer, toDateString, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, updategetExtArchDir, getExtDataDir, getExtDescriptionSnippet, getExtDeveloper, getExtEnabled, getExtGlobalConf, getExtInstanceConf, getExtName, getExtRev, getExtUUID, getExtVersion, getNameSpace, setExtArchDir, setExtDataDir, setExtDescriptionSnippet, setExtDeveloper, setExtEnabled, setExtGlobalConf, setExtInstanceConf, setExtName, setExtRev, setExtUUID, setExtVersion, setNameSpacepublic Extension()
public Extension(java.util.Map<java.lang.String,java.lang.Object> map)
public java.lang.String getExtDescription()
IExtensiongetExtDescription in interface IExtensionpublic java.lang.String getExtMaxScriptTime()
IExtensiongetExtMaxScriptTime in interface IExtensionpublic java.lang.String getExtMaxScriptMem()
IExtensiongetExtMaxScriptMem in interface IExtensionpublic java.lang.String getOwner()
IExtensiongetOwner in interface IExtensionpublic java.lang.String getUpdate()
IExtensiongetUpdate in interface IExtensionpublic java.lang.String getDescription()
IExtensiongetDescription in interface IExtensionpublic java.util.Map<java.lang.String,java.lang.String> getExtConfig()
IExtensiongetExtConfig in interface IExtensionpublic java.util.List<java.lang.String> getExtAllowedGroups()
IExtensiongetExtAllowedGroups in interface IExtensionpublic java.lang.String getExtP4USER()
IExtensiongetExtP4USER in interface IExtensionpublic java.lang.String getExtDebug()
IExtensiongetExtDebug in interface IExtensionpublic void setExtDescription(java.lang.String extDescription)
IExtensionsetExtDescription in interface IExtensionextDescription - descriptionpublic void setExtMaxScriptTime(java.lang.String extMaxScriptTime)
IExtensionsetExtMaxScriptTime in interface IExtensionextMaxScriptTime - timepublic void setExtMaxScriptMem(java.lang.String extMaxScriptMem)
IExtensionsetExtMaxScriptMem in interface IExtensionextMaxScriptMem - memorypublic void setOwner(java.lang.String owner)
IExtensionsetOwner in interface IExtensionowner - ownerpublic void setUpdate(java.lang.String update)
IExtensionsetUpdate in interface IExtensionupdate - datepublic void setDescription(java.lang.String description)
IExtensionsetDescription in interface IExtensiondescription - descriptionpublic void setExtConfig(java.util.Map<java.lang.String,java.lang.String> extConfig)
IExtensionsetExtConfig in interface IExtensionextConfig - config mappublic void setExtAllowedGroups(java.util.List<java.lang.String> extAllowedGroups)
IExtensionsetExtAllowedGroups in interface IExtensionextAllowedGroups - groupspublic void setExtP4USER(java.lang.String extP4USER)
IExtensionsetExtP4USER in interface IExtensionextP4USER - Perforce userpublic void setExtDebug(java.lang.String extDebug)
IExtensionsetExtDebug in interface IExtensionextDebug - debug