OpenShift Java Client 2.5.0.Final

com.openshift.internal.client
Enum ApplicationResource.SshStreams

java.lang.Object
  extended by java.lang.Enum<ApplicationResource.SshStreams>
      extended by com.openshift.internal.client.ApplicationResource.SshStreams
All Implemented Interfaces:
Serializable, Comparable<ApplicationResource.SshStreams>
Enclosing class:
ApplicationResource

protected static enum ApplicationResource.SshStreams
extends Enum<ApplicationResource.SshStreams>


Enum Constant Summary
EXT_INPUT
           
INPUT
           
 
Method Summary
protected abstract  InputStream getInputStream(com.jcraft.jsch.Channel channel)
           
 List<String> getLines(com.jcraft.jsch.Channel channel)
           
static ApplicationResource.SshStreams valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationResource.SshStreams[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXT_INPUT

public static final ApplicationResource.SshStreams EXT_INPUT

INPUT

public static final ApplicationResource.SshStreams INPUT
Method Detail

values

public static ApplicationResource.SshStreams[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ApplicationResource.SshStreams c : ApplicationResource.SshStreams.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ApplicationResource.SshStreams valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getLines

public List<String> getLines(com.jcraft.jsch.Channel channel)
                      throws IOException
Throws:
IOException

getInputStream

protected abstract InputStream getInputStream(com.jcraft.jsch.Channel channel)
                                       throws IOException
Throws:
IOException

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.