Top Fields Constructors Methods
liquibase

public Class Labels

extends Object
Class Inheritance
Imports
liquibase.util.StringUtil, java.util.Collection, .Collections, .LinkedHashSet, .Set

Field Summary

Modifier and TypeField and Description
private final Set<String>

Constructor Summary

AccessConstructor and Description
public
public
Labels(String... labels)

public
Labels(String labels)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
add(String label)

public Set<String>
public boolean
private void
public boolean
remove(String label)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

labelsback to summary
private final Set<String> labels

Constructor Detail

Labelsback to summary
public Labels()
Labelsback to summary
public Labels(String... labels)
Labelsback to summary
public Labels(String labels)
Labelsback to summary
public Labels(Collection<String> labels)

Method Detail

addback to summary
public boolean add(String label)
getLabelsback to summary
public Set<String> getLabels()
isEmptyback to summary
public boolean isEmpty()
parseLabelStringback to summary
private void parseLabelString(String labels)
removeback to summary
public boolean remove(String label)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override