package com.perforce.spark.deploy; import java.util.ArrayList; import java.util.List; import com.perforce.p4java.core.IChangelist; import com.perforce.p4java.core.file.IFileSpec; import com.perforce.p4java.exception.P4JavaException; import com.perforce.p4java.server.IOptionsServer; public class DeployFactory { public static List<String> listFiles(IOptionsServer p4, String cl) throws P4JavaException { List<String> list = new ArrayList<>(); int id = Integer.parseInt(cl); IChangelist change = p4.getChangelist(id); List<IFileSpec> files = change.getFiles(false); for (IFileSpec f : files) { list.add(f.getDepotPathString()); } return list; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15801 | Paul Allen | Experimental copy of PAM. | ||
//guest/paul_allen/p4am/src/main/java/com/perforce/spark/deploy/DeployFactory.java | |||||
#1 | 15782 | Paul Allen |
Update to UX - deploy has 3 process steps (including a submit report) |