public enum ControlOperator extends Enum<ControlOperator>
Enum Constant and Description |
---|
AMP |
AND |
APPEND_ERR |
APPEND_OUT |
END |
NONE |
OVERWRITE_ERR |
OVERWRITE_IN |
OVERWRITE_OUT |
OVERWRITE_OUT_AND_ERR |
PIPE |
PIPE_OUT_AND_ERR |
Modifier and Type | Method and Description |
---|---|
static boolean |
isRedirectionErr(ControlOperator r) |
static boolean |
isRedirectionOut(ControlOperator r) |
static ControlOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlOperator PIPE
public static final ControlOperator PIPE_OUT_AND_ERR
public static final ControlOperator OVERWRITE_OUT
public static final ControlOperator APPEND_OUT
public static final ControlOperator OVERWRITE_IN
public static final ControlOperator OVERWRITE_ERR
public static final ControlOperator APPEND_ERR
public static final ControlOperator OVERWRITE_OUT_AND_ERR
public static final ControlOperator END
public static final ControlOperator AMP
public static final ControlOperator AND
public static final ControlOperator NONE
public static ControlOperator[] values()
for (ControlOperator c : ControlOperator.values()) System.out.println(c);
public static ControlOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isRedirectionOut(ControlOperator r)
public static boolean isRedirectionErr(ControlOperator r)
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.