org.aludratest.service.gitclient.data
Class InvocationData

java.lang.Object
  extended by org.aludratest.dict.Data
      extended by org.aludratest.service.gitclient.data.AbstractGitData
          extended by org.aludratest.service.gitclient.data.InvocationData

public class InvocationData
extends AbstractGitData

Wraps data for the invocation of the GitClient's invokeGenerically method.

Author:
Volker Bergmann
See Also:
GitClient.invokeGenerically(InvocationData)

Constructor Summary
InvocationData()
          Public default constructor.
InvocationData(String processName, String... args)
          Constructor with full definition of process name and arguments.
 
Method Summary
 List<String> getArgs()
          Returns the invocation arguments.
 String getFailOnErrOut()
           
 String getProcessName()
          Returns the name of the process.
 String getStdOut()
          Returns the std out of the process.
 void setArgs(List<String> args)
          Sets the invocation arguments.
 void setFailOnErrOut(String failOnErrOut)
          Sets the failOnErrOut flag.
 void setProcessName(String processName)
          Sets the name of the process.
 void setStdOut(String stdOut)
          Sets the std out of the process.
 
Methods inherited from class org.aludratest.dict.Data
buildDescriptionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationData

public InvocationData()
Public default constructor.


InvocationData

public InvocationData(String processName,
                      String... args)
Constructor with full definition of process name and arguments.

Parameters:
processName -
args -
Method Detail

getProcessName

public String getProcessName()
Returns the name of the process.

Returns:
the name of the process

setProcessName

public void setProcessName(String processName)
Sets the name of the process.

Parameters:
processName - the name of the process to set

getArgs

public List<String> getArgs()
Returns the invocation arguments.

Returns:
the invocation arguments

setArgs

public void setArgs(List<String> args)
Sets the invocation arguments.

Parameters:
args - the invocation arguments to set

getStdOut

public String getStdOut()
Returns the std out of the process.

Returns:
the std out of the process

setStdOut

public void setStdOut(String stdOut)
Sets the std out of the process.

Parameters:
stdOut - the std out of the process

getFailOnErrOut

public String getFailOnErrOut()
Returns:
the failOnErrOut

setFailOnErrOut

public void setFailOnErrOut(String failOnErrOut)
Sets the failOnErrOut flag. If set to true, the occurrence of content in the process' error out stream is considered to indicate a failure and causes the framework to emit a TechnicalException.

Parameters:
failOnErrOut - the failOnErrOut to set


Copyright © 2015 aludratest.org. All rights reserved.