package javax.wvcm; import java.util.Iterator; import java.util.List; /** * A list containing {@link Resource} objects, * used to perform operations on all elements of the list. */ public interface ResourceList extends List<Resource> { /** * An iterator of the results of applying a method to * each element of a {@link ResourceList}. * @see java.util.Iterator */ public interface ResponseIterator<T> { /** * Return whether the iteration has more elements. * @see java.util.Iterator#hasNext */ public boolean hasNext(); /** * Return the result of applying the method to the * the next element of the input list. * @see java.util.Iterator#next */ public T next() throws WvcmException; }; /** * Apply {@link ControllableResource#doControl doControl} * to each element of this {@link ResourceList}. */ public ResponseIterator<Void> doControl(); /** * Apply {@link ControllableResource#doCheckin(boolean,boolean) doCheckin} * to each element of this {@link ResourceList}. */ public ResponseIterator<Void> doCheckin( boolean keepCheckedOut, boolean forkOK); /** * Apply {@link ControllableResource#doCheckout(boolean,List,boolean,boolean) doCheckout} * to each element of this {@link ResourceList}. */ public ResponseIterator<Void> doCheckout( boolean forkOK, List<Activity> activityList, boolean newActivity, boolean unreserved); /** * Apply {@link ControllableResource#doRefresh doRefresh} * to each element of this {@link ResourceList}. */ public ResponseIterator<Iterator<ControllableResource>> doRefresh( PropertyNameList wantedPropertyList, boolean ignoreDirty); /** * Apply {@link ControllableResource#doUncheckout doUncheckout} * to each element of this {@link ResourceList}. */ public ResponseIterator<Void> doUncheckout(); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 4196 | Paul Krause | extend parameter types | ||
#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/ResourceList.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 |