Class LicenseDelegator
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
-
- com.perforce.p4java.impl.mapbased.server.cmd.LicenseDelegator
-
- All Implemented Interfaces:
ILicenseDelegator
public class LicenseDelegator extends BaseDelegator implements ILicenseDelegator
-
-
Field Summary
-
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
-
-
Constructor Summary
Constructors Constructor Description LicenseDelegator(IOptionsServer server)
Basic constructor, taking a server object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILicense
getLicense()
ILicenseLimits
getLimits()
java.util.List<IServerIPMACAddress>
getValidServerIPMACAddress()
java.lang.String
updateLicense(ILicense license)
-
-
-
Constructor Detail
-
LicenseDelegator
public LicenseDelegator(IOptionsServer server)
Basic constructor, taking a server object.- Parameters:
server
- - an instance of the currently effective server implementation
-
-
Method Detail
-
getLimits
public ILicenseLimits getLimits() throws P4JavaException
- Specified by:
getLimits
in interfaceILicenseDelegator
- Throws:
P4JavaException
-
getLicense
public ILicense getLicense() throws P4JavaException
- Specified by:
getLicense
in interfaceILicenseDelegator
- Throws:
P4JavaException
-
updateLicense
public java.lang.String updateLicense(ILicense license) throws P4JavaException
- Specified by:
updateLicense
in interfaceILicenseDelegator
- Throws:
P4JavaException
-
getValidServerIPMACAddress
public java.util.List<IServerIPMACAddress> getValidServerIPMACAddress() throws P4JavaException
- Specified by:
getValidServerIPMACAddress
in interfaceILicenseDelegator
- Throws:
P4JavaException
-
-