com.atlassian.bamboo.testutils
Class RepositoryHelper

java.lang.Object
  extended by com.atlassian.bamboo.testutils.RepositoryHelper

public class RepositoryHelper
extends Object


Nested Class Summary
static class RepositoryHelper.CommandResult
           
 
Field Summary
static String COMMIT_MESSAGE_CORE
           
static String JIRA_ISSUE_KEY
           
static String JIRA_PROJECT_KEY
           
 
Method Summary
static void assertCommandResultSuccessful(RepositoryHelper.CommandResult commandResult)
           
static String getCommitComment()
           
static String getCommitComment(String issueKey)
           
static RepositoryHelper.CommandResult runCommand(String[] args, File dir)
           
static void touchFile(File fileToTouch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JIRA_PROJECT_KEY

public static final String JIRA_PROJECT_KEY
See Also:
Constant Field Values

JIRA_ISSUE_KEY

public static final String JIRA_ISSUE_KEY
See Also:
Constant Field Values

COMMIT_MESSAGE_CORE

public static final String COMMIT_MESSAGE_CORE
See Also:
Constant Field Values
Method Detail

getCommitComment

public static String getCommitComment()

getCommitComment

public static String getCommitComment(String issueKey)

touchFile

public static void touchFile(File fileToTouch)
                      throws IOException
Throws:
IOException

runCommand

public static RepositoryHelper.CommandResult runCommand(String[] args,
                                                        File dir)
                                                 throws IOException,
                                                        InterruptedException
Throws:
IOException
InterruptedException

assertCommandResultSuccessful

public static void assertCommandResultSuccessful(RepositoryHelper.CommandResult commandResult)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.