protected static enum ComposableSnapshotFilter.Operator extends Enum<ComposableSnapshotFilter.Operator>
Modifier and Type | Method and Description |
---|---|
boolean |
isAnd() |
boolean |
isOr() |
boolean |
operate(boolean leftOperand,
boolean rightOperand) |
static ComposableSnapshotFilter.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComposableSnapshotFilter.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComposableSnapshotFilter.Operator AND
public static final ComposableSnapshotFilter.Operator OR
public static ComposableSnapshotFilter.Operator[] values()
for (ComposableSnapshotFilter.Operator c : ComposableSnapshotFilter.Operator.values()) System.out.println(c);
public static ComposableSnapshotFilter.Operator 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 boolean isAnd()
public boolean isOr()
public boolean operate(boolean leftOperand, boolean rightOperand)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.