package javax.wvcm; import java.util.List; /** * A WVCM provider. */ public interface Provider { /** * Return a list of {@link Folder} objects that identify folders * on the server that contain workspaces for this Provider. * If this Provider does not allow the client to create new * workspaces on the server, an empty List is returned. * @param wantedPropertyList The properties available in the returned proxies. */ public List<Folder<Workspace>> serverWorkspaceFolderList(PropertyNameList wantedPropertyList) throws WvcmException; /** * Return a list of {@link Folder} objects that identify folders * on the client that contain workspaces for this Provider. * If this Provider does not support workspaces on the * client, an empty List is returned. * @param wantedPropertyList The properties available in the returned proxies. */ public List<Folder<Workspace>> clientWorkspaceFolderList(PropertyNameList wantedPropertyList) throws WvcmException; /** * Return a list of {@link Workspace} objects which * can be used as the argument of the * {@link Workspace#setServerState} routine * for more than one {@link Workspace}. * If this Provider does not allow multiple workspaces to * share the same ServerState, an empty List is returned. * @param wantedPropertyList The properties available in the returned proxies. */ public List<Workspace> serverSharedWorkspaceList(PropertyNameList wantedPropertyList) throws WvcmException; // Location creation routine /** * Return a {@link Location} whose string value is the specified String. * @throws WvcmException with ILLEGAL_LOCATION_SYNTAX * if the String is not a valid location. */ public Location location(String string) throws WvcmException; // ResourceList creation routine /** * Return an empty {@link ResourceList}. */ public ResourceList resourceList(); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4181 | Paul Krause |
Rename //guest/paul_krause/perforce/api/java/wcvm/com/... //guest/paul_krause/perforce/api/java/wcvm/javax/... To //guest/paul_krause/perforce/api/java/wcvm/src-15/... |
||
//guest/paul_krause/perforce/api/java/wcvm/javax/wvcm/Provider.java | |||||
#2 | 4177 | Paul Krause | parameterize container types - requires tiger or pizza | ||
#1 | 4068 | Paul Krause | WCVM files from Public Draft of JSR-147, The Workspace Versioning and Configuration Management API |