Interface ISpecDelegator
-
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
NtsServerImpl,OneShotServerImpl,RpcServer,Server,SpecDelegator
public interface ISpecDelegator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getSpec(CustomSpec type)Return the Perforce spec associated with this Perforce server.java.lang.StringupdateSpec(CustomSpec type, java.util.Map<java.lang.String,java.lang.Object> spec)Update a Perforce spec on the Perforce server.java.lang.StringupdateSpecString(CustomSpec type, java.lang.String spec)Update a Perforce spec on the Perforce server.
-
-
-
Method Detail
-
getSpec
java.util.Map<java.lang.String,java.lang.Object> getSpec(CustomSpec type) throws P4JavaException
Return the Perforce spec associated with this Perforce server.- Parameters:
type- spec type, ('job' or 'stream') to be updated.- Returns:
- possibly-null map representing the underlying Perforce server's spec.
- Throws:
P4JavaException- if any error occurs in the processing of this method.- Since:
- 2020.1
-
updateSpec
java.lang.String updateSpec(CustomSpec type, java.util.Map<java.lang.String,java.lang.Object> spec) throws P4JavaException
Update a Perforce spec on the Perforce server.- Parameters:
type- spec type, ('job' or 'stream') to be updated.spec- updated spec as a map.- Returns:
- non-null result message string from the Perforce server; this may include form trigger output pre-pended and / or appended to the "normal" message.
- Throws:
P4JavaException- if any error occurs in the processing of this method.- Since:
- 2020.1
-
updateSpecString
java.lang.String updateSpecString(CustomSpec type, java.lang.String spec) throws P4JavaException
Update a Perforce spec on the Perforce server.- Parameters:
type- spec type, ('job' or 'stream') to be updated.spec- updated spec as a map.- Returns:
- non-null result message string from the Perforce server; this may include form trigger output pre-pended and / or appended to the "normal" message.
- Throws:
P4JavaException- if any error occurs in the processing of this method.- Since:
- 2020.1
-
-