public class Extension extends ExtensionSummary implements IExtension
extEnabled, extName, extRev, extUUID, extVersion, nameSpace
refreshable, 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, setNameSpace
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, parseDate, refresh, setRawField, setRawFields, setRefreshable, setServer, toDateString, update, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
getExtArchDir, getExtDataDir, getExtDescriptionSnippet, getExtDeveloper, getExtEnabled, getExtGlobalConf, getExtInstanceConf, getExtName, getExtRev, getExtUUID, getExtVersion, getNameSpace, setExtArchDir, setExtDataDir, setExtDescriptionSnippet, setExtDeveloper, setExtEnabled, setExtGlobalConf, setExtInstanceConf, setExtName, setExtRev, setExtUUID, setExtVersion, setNameSpace
public Extension()
public Extension(java.util.Map<java.lang.String,java.lang.Object> map)
public java.lang.String getExtDescription()
IExtension
getExtDescription
in interface IExtension
public java.lang.String getExtMaxScriptTime()
IExtension
getExtMaxScriptTime
in interface IExtension
public java.lang.String getExtMaxScriptMem()
IExtension
getExtMaxScriptMem
in interface IExtension
public java.lang.String getOwner()
IExtension
getOwner
in interface IExtension
public java.lang.String getUpdate()
IExtension
getUpdate
in interface IExtension
public java.lang.String getDescription()
IExtension
getDescription
in interface IExtension
public java.util.Map<java.lang.String,java.lang.String> getExtConfig()
IExtension
getExtConfig
in interface IExtension
public java.util.List<java.lang.String> getExtAllowedGroups()
IExtension
getExtAllowedGroups
in interface IExtension
public java.lang.String getExtP4USER()
IExtension
getExtP4USER
in interface IExtension
public java.lang.String getExtDebug()
IExtension
getExtDebug
in interface IExtension
public void setExtDescription(java.lang.String extDescription)
IExtension
setExtDescription
in interface IExtension
extDescription
- descriptionpublic void setExtMaxScriptTime(java.lang.String extMaxScriptTime)
IExtension
setExtMaxScriptTime
in interface IExtension
extMaxScriptTime
- timepublic void setExtMaxScriptMem(java.lang.String extMaxScriptMem)
IExtension
setExtMaxScriptMem
in interface IExtension
extMaxScriptMem
- memorypublic void setOwner(java.lang.String owner)
IExtension
setOwner
in interface IExtension
owner
- ownerpublic void setUpdate(java.lang.String update)
IExtension
setUpdate
in interface IExtension
update
- datepublic void setDescription(java.lang.String description)
IExtension
setDescription
in interface IExtension
description
- descriptionpublic void setExtConfig(java.util.Map<java.lang.String,java.lang.String> extConfig)
IExtension
setExtConfig
in interface IExtension
extConfig
- config mappublic void setExtAllowedGroups(java.util.List<java.lang.String> extAllowedGroups)
IExtension
setExtAllowedGroups
in interface IExtension
extAllowedGroups
- groupspublic void setExtP4USER(java.lang.String extP4USER)
IExtension
setExtP4USER
in interface IExtension
extP4USER
- Perforce userpublic void setExtDebug(java.lang.String extDebug)
IExtension
setExtDebug
in interface IExtension
extDebug
- debug