Enum GraphComparator.Delta.Command
- All Implemented Interfaces:
Serializable
,Comparable<GraphComparator.Delta.Command>
- Enclosing class:
GraphComparator.Delta
These are all possible Delta.Commands that are generated when performing
the graph comparison.
- Author:
- John DeRegnaucourt ([email protected])
Copyright [2010] John DeRegnaucourt
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
License
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the enum constant of this type with the specified name.static GraphComparator.Delta.Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARRAY_SET_ELEMENT
-
ARRAY_RESIZE
-
OBJECT_ASSIGN_FIELD
-
OBJECT_ORPHAN
-
OBJECT_FIELD_TYPE_CHANGED
-
SET_ADD
-
SET_REMOVE
-
MAP_PUT
-
MAP_REMOVE
-
LIST_RESIZE
-
LIST_SET_ELEMENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
getName
-
fromName
-