public class DeployTool extends Object
| Constructor and Description |
|---|
DeployTool() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkArguments(String processId,
String groupId,
String artifactId)
Checks the input data
|
protected void |
checkArguments(String processId,
String mandatorId,
String groupId,
String artifactId)
Checks the input data
|
protected void |
cleanResultZip(File file,
int skipLatest) |
protected File |
createEmptyZipA(String mandatorPath,
String processId,
String groupId,
String artifactId) |
protected String |
getLatestZipFile(String mandatorPath,
String processId) |
protected long |
processCRC(String mandatorPath,
String processId,
String groupId,
String artifactId)
CRC checksum for test purposes
|
protected File |
zipFromDataA(String mandatorPath,
String processId,
String groupId,
String artifactId) |
protected void |
zipToDataA(String mandatorPath,
String processId,
String groupId,
String artifactId,
String zipFileName) |
protected void checkArguments(String processId, String mandatorId, String groupId, String artifactId)
processId - mandatorId - groupId - artifactId - protected void checkArguments(String processId, String groupId, String artifactId)
processId - groupId - artifactId - protected File createEmptyZipA(String mandatorPath, String processId, String groupId, String artifactId) throws IOException
mandatorPath - The path of the mandatorprocessId - The process idgroupId - The group idartifactId - The artifact idIOExceptionprotected File zipFromDataA(String mandatorPath, String processId, String groupId, String artifactId) throws IOException
mandatorPath - The path of the mandatorprocessId - The process idgroupId - The group idartifactId - The artifact idIOExceptionprotected void zipToDataA(String mandatorPath, String processId, String groupId, String artifactId, String zipFileName) throws IOException
mandatorPath - processId - groupId - artifactId - IOExceptionprotected String getLatestZipFile(String mandatorPath, String processId)
mandatorPath - processId - protected long processCRC(String mandatorPath, String processId, String groupId, String artifactId) throws IOException
mandatorPath - processId - groupId - artifactId - IOExceptionprotected void cleanResultZip(File file, int skipLatest)
file - The directory containing the filesskipLatest - The number of files to beholdCopyright © 2015. All rights reserved.