Class ExtensionSummary
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.ServerResource
-
- com.perforce.p4java.impl.generic.core.ExtensionSummary
-
- All Implemented Interfaces:
IServerResource
,IExtensionSummary
- Direct Known Subclasses:
Extension
public class ExtensionSummary extends ServerResource implements IExtensionSummary
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
extEnabled
protected java.lang.String
extName
protected java.lang.String
extRev
protected java.lang.String
extUUID
protected java.lang.String
extVersion
protected java.lang.String
nameSpace
-
Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource
refreshable, server, updateable
-
-
Constructor Summary
Constructors Modifier Constructor Description ExtensionSummary()
ExtensionSummary(java.util.Map<java.lang.String,java.lang.Object> map)
protected
ExtensionSummary(java.util.Map<java.lang.String,java.lang.Object> map, boolean summary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExtArchDir()
Returns the path to the file in the server extension’s unpacked archive directory.java.lang.String
getExtDataDir()
Returns the path in which the server extension will store the files it creates.java.lang.String
getExtDescriptionSnippet()
Get the Extension description snippet.java.lang.String
getExtDeveloper()
Get Extension developer.java.lang.String
getExtEnabled()
Check if Extension is enabled or disabled.boolean
getExtGlobalConf()
Check if Extension has global configboolean
getExtInstanceConf()
Check if Extension has instance configjava.lang.String
getExtName()
Get the name of the Extension being configured.java.lang.String
getExtRev()
Get the revision of the Extension being configured.java.lang.String
getExtUUID()
Get the UUID/key of the Extension being configured.java.lang.String
getExtVersion()
Get the version of the Extension being configured.java.lang.String
getNameSpace()
Get the namespace of this Extension config.void
setExtArchDir(java.lang.String extArchDir)
Set the path to the file in the server extension’s unpacked archive directory.void
setExtDataDir(java.lang.String extDataDir)
Set path in which the server extension will store the files it creates.void
setExtDescriptionSnippet(java.lang.String extDescriptionSnippet)
Set the Extension description snippet.void
setExtDeveloper(java.lang.String extDeveloper)
Set the extension developer field.void
setExtEnabled(java.lang.String extEnabled)
Enable or disable the extensionvoid
setExtGlobalConf(boolean extGlobalConf)
Set extension as a global.void
setExtInstanceConf(boolean extInstanceConf)
Set extension as an instance.void
setExtName(java.lang.String extName)
Set the name of the Extension being configured.void
setExtRev(java.lang.String extRev)
Set the revision of the Extension being configured.void
setExtUUID(java.lang.String extUUID)
Set the UUID/key of the Extension being configured.void
setExtVersion(java.lang.String extVersion)
Set the version of the Extension being configured.void
setNameSpace(java.lang.String name)
Set the namespace of this Extension config.-
Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, parseDate, refresh, setRawField, setRawFields, setRefreshable, setServer, toDateString, update, update, update
-
-
-
-
Method Detail
-
getExtName
public java.lang.String getExtName()
Description copied from interface:IExtensionSummary
Get the name of the Extension being configured.- Specified by:
getExtName
in interfaceIExtensionSummary
- Returns:
- Extension name
-
getExtVersion
public java.lang.String getExtVersion()
Description copied from interface:IExtensionSummary
Get the version of the Extension being configured.- Specified by:
getExtVersion
in interfaceIExtensionSummary
- Returns:
- Extension version
-
getExtUUID
public java.lang.String getExtUUID()
Description copied from interface:IExtensionSummary
Get the UUID/key of the Extension being configured.- Specified by:
getExtUUID
in interfaceIExtensionSummary
- Returns:
- Extension UUID
-
getExtRev
public java.lang.String getExtRev()
Description copied from interface:IExtensionSummary
Get the revision of the Extension being configured.- Specified by:
getExtRev
in interfaceIExtensionSummary
- Returns:
- Extension revision
-
getExtEnabled
public java.lang.String getExtEnabled()
Description copied from interface:IExtensionSummary
Check if Extension is enabled or disabled.- Specified by:
getExtEnabled
in interfaceIExtensionSummary
- Returns:
- true/false
-
getNameSpace
public java.lang.String getNameSpace()
Description copied from interface:IExtensionSummary
Get the namespace of this Extension config.- Specified by:
getNameSpace
in interfaceIExtensionSummary
- Returns:
- Namespace
-
getExtDeveloper
public java.lang.String getExtDeveloper()
Description copied from interface:IExtensionSummary
Get Extension developer.- Specified by:
getExtDeveloper
in interfaceIExtensionSummary
- Returns:
- Extension developer
-
getExtDescriptionSnippet
public java.lang.String getExtDescriptionSnippet()
Description copied from interface:IExtensionSummary
Get the Extension description snippet.- Specified by:
getExtDescriptionSnippet
in interfaceIExtensionSummary
- Returns:
- Description snippet
-
getExtArchDir
public java.lang.String getExtArchDir()
Description copied from interface:IExtensionSummary
Returns the path to the file in the server extension’s unpacked archive directory. This path is relative to the server.extensions.dir configurable.- Specified by:
getExtArchDir
in interfaceIExtensionSummary
- Returns:
- Extension archive directory
-
getExtDataDir
public java.lang.String getExtDataDir()
Description copied from interface:IExtensionSummary
Returns the path in which the server extension will store the files it creates.- Specified by:
getExtDataDir
in interfaceIExtensionSummary
- Returns:
- Extension data directory
-
getExtGlobalConf
public boolean getExtGlobalConf()
Description copied from interface:IExtensionSummary
Check if Extension has global config- Specified by:
getExtGlobalConf
in interfaceIExtensionSummary
- Returns:
- true/false
-
getExtInstanceConf
public boolean getExtInstanceConf()
Description copied from interface:IExtensionSummary
Check if Extension has instance config- Specified by:
getExtInstanceConf
in interfaceIExtensionSummary
- Returns:
- true/false
-
setExtName
public void setExtName(java.lang.String extName)
Description copied from interface:IExtensionSummary
Set the name of the Extension being configured.- Specified by:
setExtName
in interfaceIExtensionSummary
- Parameters:
extName
- name
-
setExtVersion
public void setExtVersion(java.lang.String extVersion)
Description copied from interface:IExtensionSummary
Set the version of the Extension being configured.- Specified by:
setExtVersion
in interfaceIExtensionSummary
- Parameters:
extVersion
- version
-
setExtUUID
public void setExtUUID(java.lang.String extUUID)
Description copied from interface:IExtensionSummary
Set the UUID/key of the Extension being configured.- Specified by:
setExtUUID
in interfaceIExtensionSummary
- Parameters:
extUUID
- UUID
-
setExtRev
public void setExtRev(java.lang.String extRev)
Description copied from interface:IExtensionSummary
Set the revision of the Extension being configured.- Specified by:
setExtRev
in interfaceIExtensionSummary
- Parameters:
extRev
- revision
-
setExtEnabled
public void setExtEnabled(java.lang.String extEnabled)
Description copied from interface:IExtensionSummary
Enable or disable the extension- Specified by:
setExtEnabled
in interfaceIExtensionSummary
- Parameters:
extEnabled
- true/false
-
setNameSpace
public void setNameSpace(java.lang.String name)
Description copied from interface:IExtensionSummary
Set the namespace of this Extension config.- Specified by:
setNameSpace
in interfaceIExtensionSummary
- Parameters:
name
- name
-
setExtDeveloper
public void setExtDeveloper(java.lang.String extDeveloper)
Description copied from interface:IExtensionSummary
Set the extension developer field.- Specified by:
setExtDeveloper
in interfaceIExtensionSummary
- Parameters:
extDeveloper
- developer
-
setExtDescriptionSnippet
public void setExtDescriptionSnippet(java.lang.String extDescriptionSnippet)
Description copied from interface:IExtensionSummary
Set the Extension description snippet.- Specified by:
setExtDescriptionSnippet
in interfaceIExtensionSummary
- Parameters:
extDescriptionSnippet
- description
-
setExtArchDir
public void setExtArchDir(java.lang.String extArchDir)
Description copied from interface:IExtensionSummary
Set the path to the file in the server extension’s unpacked archive directory. This path is relative to the server.extensions.dir configurable.- Specified by:
setExtArchDir
in interfaceIExtensionSummary
- Parameters:
extArchDir
- archive directory
-
setExtDataDir
public void setExtDataDir(java.lang.String extDataDir)
Description copied from interface:IExtensionSummary
Set path in which the server extension will store the files it creates.- Specified by:
setExtDataDir
in interfaceIExtensionSummary
- Parameters:
extDataDir
- data directory
-
setExtGlobalConf
public void setExtGlobalConf(boolean extGlobalConf)
Description copied from interface:IExtensionSummary
Set extension as a global.- Specified by:
setExtGlobalConf
in interfaceIExtensionSummary
- Parameters:
extGlobalConf
- is global
-
setExtInstanceConf
public void setExtInstanceConf(boolean extInstanceConf)
Description copied from interface:IExtensionSummary
Set extension as an instance.- Specified by:
setExtInstanceConf
in interfaceIExtensionSummary
- Parameters:
extInstanceConf
- is instance
-
-