Class ProjectAutomatorUtils
- java.lang.Object
- 
- io.jenkins.plugins.deployintegrationserver.ProjectAutomatorUtils
 
- 
 public class ProjectAutomatorUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description ProjectAutomatorUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateFile(Document xmlDoc, FilePath outputDirectory)static voiddeleteFile(FilePath fileDirectory)static DocumentgenerateDocument(String singleTargetAliases, String groupTargetAliases, String deployerHost, String deployerPort, String deployerUsername, String deployerPassword, String repositoryAlias, String repositoryDirectory, String[] composites, String projectName, String deploymentSetName, String deploymentMapName, String deploymentCandidateName)static intrunProjectAutomatorExecutable(String operatingSystem, FilePath deployerHomeDirectory, FilePath projectAutomatorFileDirectory, Launcher launcher, TaskListener listener)
 
- 
- 
- 
Method Detail- 
generateDocumentpublic static Document generateDocument(String singleTargetAliases, String groupTargetAliases, String deployerHost, String deployerPort, String deployerUsername, String deployerPassword, String repositoryAlias, String repositoryDirectory, String[] composites, String projectName, String deploymentSetName, String deploymentMapName, String deploymentCandidateName) throws ParserConfigurationException - Throws:
- ParserConfigurationException
 
 - 
createFilepublic static void createFile(Document xmlDoc, FilePath outputDirectory) throws TransformerConfigurationException, FileNotFoundException, TransformerException, IOException, InterruptedException 
 - 
deleteFilepublic static void deleteFile(FilePath fileDirectory) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
 - 
runProjectAutomatorExecutablepublic static int runProjectAutomatorExecutable(String operatingSystem, FilePath deployerHomeDirectory, FilePath projectAutomatorFileDirectory, Launcher launcher, TaskListener listener) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
 
- 
 
-