public class GenerationUtils
extends java.lang.Object
Constructor and Description |
---|
GenerationUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkRepo(java.io.File repo) |
static java.lang.String |
execCmd(java.lang.String cmd,
java.io.File where) |
static java.lang.String |
getGitBranch(java.io.File repo) |
static java.lang.String |
getGitCommit(java.io.File repo) |
static java.lang.String |
getGitCommitAuthor(java.io.File repo) |
static java.util.Date |
getGitCommitDate(java.io.File repo) |
static java.lang.String |
getGitCommitEmail(java.io.File repo) |
static java.lang.String |
getGitCommitNote(java.io.File repo) |
static java.lang.String |
getGitSha(java.io.File repo) |
static java.util.Map<java.lang.String,java.lang.Integer> |
getImcAddresses(java.io.File repo) |
static java.io.InputStream |
getImcXml(java.io.File repo) |
static void |
main(java.lang.String[] args) |
public static java.lang.String execCmd(java.lang.String cmd, java.io.File where) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitSha(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitBranch(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitCommitAuthor(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitCommitEmail(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitCommitNote(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.util.Date getGitCommitDate(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getGitCommit(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static void checkRepo(java.io.File repo) throws java.lang.Exception
java.lang.Exception
public static java.io.InputStream getImcXml(java.io.File repo) throws java.io.IOException
java.io.IOException
public static java.util.Map<java.lang.String,java.lang.Integer> getImcAddresses(java.io.File repo) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception