public class Equivalencer extends Object implements StringConstants
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURED_PROPERTIES |
static String |
DEPENDENCIES |
static String |
DESCRIPTION |
static String |
ID |
static String |
METADATA |
static String |
NAME |
AMPERSAND, AT, CLASS, CLOSE_ANGLE_BRACKET, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_SQUARE_BRACKET, COLON, COMMA, DDL, DIVIDE, DOLLAR_SIGN, DOT, DOT_CHAR, DOT_DOT, DOUBLE_BACK_SLASH, ELLIPSE, EMPTY_ARRAY, EMPTY_STRING, ENUM, EQUALS, FORWARD_SLASH, HASH, HYPHEN, INTERFACE, LINE_SEPARATOR, LINE_SEPARATOR_PROPERTY_NAME, MINUS, MULTIPLY, NEW_LINE, OPEN_ANGLE_BRACKET, OPEN_BRACE, OPEN_BRACKET, OPEN_SQUARE_BRACKET, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE_MARK, SEMI_COLON, SPACE, SPEECH_MARK, STAR, TAB, UNDERSCORE, UNDERSCORE_CHAR, XML| Constructor and Description |
|---|
Equivalencer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(Action one,
Action another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Connection one,
Connection another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(ConnectorAction one,
ConnectorAction another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Connector one,
Connector another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(ConnectorDescriptor one,
ConnectorDescriptor another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Extension one,
Extension another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Flow one,
Flow another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Integration one,
Integration another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(StepAction one,
StepAction another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(StepDescriptor one,
StepDescriptor another)
A weaker form of equality to
Object.equals(Object). |
boolean |
equivalent(Step one,
Step another)
A weaker form of equality to
Object.equals(Object). |
String |
failureMessage() |
public static final String CONFIGURED_PROPERTIES
public static final String DEPENDENCIES
public static final String METADATA
public static final String NAME
public static final String ID
public static final String DESCRIPTION
public String failureMessage()
public boolean equivalent(Step one, Step another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Step to compare withpublic boolean equivalent(Extension one, Extension another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Extension to compare withpublic boolean equivalent(Integration one, Integration another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
one - a Integration to compare withanother - a Integration to compare withpublic boolean equivalent(Flow one, Flow another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Integration to compare withpublic boolean equivalent(Connection one, Connection another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Connection to compare withpublic boolean equivalent(Connector one, Connector another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Connector to compare withpublic boolean equivalent(Action one, Action another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a Action to compare withpublic boolean equivalent(StepAction one, StepAction another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a StepAction to compare withpublic boolean equivalent(ConnectorAction one, ConnectorAction another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a ConnectorAction to compare withpublic boolean equivalent(StepDescriptor one, StepDescriptor another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a StepDescriptor to compare withpublic boolean equivalent(ConnectorDescriptor one, ConnectorDescriptor another)
Object.equals(Object).
Compares a defining subset of properties to {code}another{code}'s
and in turn tests those properties for equivalence.
An equals test of a null field and an empty Optional
will return false whilst they are equivalent so this method will return true.
Items not tested include:
Note Method can result in 2 instances being equivalent even though some properties are different. Thus, this should only be used in appropriate situations.
another - a ConnectorDescriptor to compare withCopyright © 2016–2021 Red Hat. All rights reserved.