org.apache.maven.shared.utils.cli.javatool
Class AbstractJavaToolRequest

java.lang.Object
  extended by org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
All Implemented Interfaces:
JavaToolRequest

public class AbstractJavaToolRequest
extends Object
implements JavaToolRequest

Abstract implementation of a JavaToolRequest.

Since:
0.5
Author:
Tony Chemit

Constructor Summary
AbstractJavaToolRequest()
           
 
Method Summary
 StreamConsumer getSystemErrorStreamConsumer()
          Gets the value of the systemErrorStreamConsumer field.
 StreamConsumer getSystemOutStreamConsumer()
          Gets the value of the systemOutStreamConsumer field.
 void setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
          Sets the new given value to the field systemErrorStreamConsumer of the request.
 void setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
          Sets the new given value to the field systemOutStreamConsumer of the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJavaToolRequest

public AbstractJavaToolRequest()
Method Detail

getSystemOutStreamConsumer

public StreamConsumer getSystemOutStreamConsumer()
Gets the value of the systemOutStreamConsumer field.

This option field if filled is used by the commandline tool to consume system ouput stream of the jarsigner command.

Specified by:
getSystemOutStreamConsumer in interface JavaToolRequest
Returns:
the value of the systemOutStreamConsumer field.

getSystemErrorStreamConsumer

public StreamConsumer getSystemErrorStreamConsumer()
Gets the value of the systemErrorStreamConsumer field.

This option field if filled is used by the commandline tool to consume system error stream of the jarsigner command.

Specified by:
getSystemErrorStreamConsumer in interface JavaToolRequest
Returns:
the value of the systemErrorStreamConsumer field.

setSystemOutStreamConsumer

public void setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
Sets the new given value to the field systemOutStreamConsumer of the request.

Specified by:
setSystemOutStreamConsumer in interface JavaToolRequest
Parameters:
systemOutStreamConsumer - the new value of the field systemOutStreamConsumer.

setSystemErrorStreamConsumer

public void setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
Sets the new given value to the field systemErrorStreamConsumer of the request.

Specified by:
setSystemErrorStreamConsumer in interface JavaToolRequest
Parameters:
systemErrorStreamConsumer - the new value of the field systemErrorStreamConsumer.


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.