package com.perforce.common.node; import java.util.ArrayList; import com.perforce.svn.history.Action; import com.perforce.svn.history.RevisionTree.NodeType; import com.perforce.svn.parser.Content; import com.perforce.svn.parser.Property; import com.perforce.svn.process.MergeInfo; import com.perforce.svn.process.MergeSource; public interface NodeInterface { /** * Set target node; path and change. * * @param path * @param change */ public void setTo(String path, long change); /** * Set source node; path and change. * * @param path * @param change */ public void setFrom(ArrayList<MergeSource> from); /** * Apply node's action to the current change-list, expanding directories to * their individual files * * @param nodeAction * @param type * @throws Exception */ public void action(Action nodeAction, NodeType type, boolean caseRename) throws Exception; /** * Sets the content for file based nodes * * @param content * @throws Exception */ public void setContent(Content content) throws Exception; /** * Sets the properties for SVN directories what will be stored as versioned * files in Perforce * * @param property */ public void setProperty(Property property); /** * Stores merge info on node specified by path * * @param merge * @param path */ public void setMergeInfo(MergeInfo merge, String path); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12446 | Paul Allen | Branching using p4convert-rusty | ||
//guest/perforce_software/p4convert/src/com/perforce/common/node/NodeInterface.java | |||||
#2 | 11263 | Paul Allen | Refactor the enum Action outside of ChangeAction. | ||
#1 | 11066 | Paul Allen |
Code refactor: Moved 'node' package from 'svn' to 'common'. |
||
//guest/perforce_software/p4convert/src/com/perforce/svn/node/NodeInterface.java | |||||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |