Class GraphRevListDelegator
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
-
- com.perforce.p4java.impl.mapbased.server.cmd.GraphRevListDelegator
-
- All Implemented Interfaces:
IGraphRevListDelegator
public class GraphRevListDelegator extends BaseDelegator implements IGraphRevListDelegator
This class acts as a delegator that executes the command 'p4 graph rev-list'
-
-
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 GraphRevListDelegator(IOptionsServer server)
Instantiates a new graph rev list delegator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IRevListCommit>
getGraphRevList(GraphRevListOptions options)
Returns a List encapsulating a RevListCommit which holds the data retrieved as part of the 'p4 graph rev-list -n'
-
-
-
Constructor Detail
-
GraphRevListDelegator
public GraphRevListDelegator(IOptionsServer server)
Instantiates a new graph rev list delegator.- Parameters:
server
- the server
-
-
Method Detail
-
getGraphRevList
public java.util.List<IRevListCommit> getGraphRevList(GraphRevListOptions options) throws P4JavaException
Returns a List encapsulating a RevListCommit which holds the data retrieved as part of the 'p4 graph rev-list -n'- Specified by:
getGraphRevList
in interfaceIGraphRevListDelegator
- Parameters:
options
- options- Returns:
- List of graph revision items
- Throws:
P4JavaException
- on error
-
-