Package org.jboss.windup.config.metadata
Class AbstractLabelsetMetadata
- java.lang.Object
-
- org.jboss.windup.config.metadata.AbstractLabelsetMetadata
-
- All Implemented Interfaces:
LabelProviderMetadata,LabelsetMetadata
- Direct Known Subclasses:
LabelMetadataBuilder
public class AbstractLabelsetMetadata extends Object implements LabelProviderMetadata
Base class for constructingLabelsetMetadatainstances. Provides sensible defaults.- Author:
- Carlos Feria
-
-
Constructor Summary
Constructors Constructor Description AbstractLabelsetMetadata(String id)Construct a newAbstractLabelsetMetadatainstance using the givenStringID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()Returns a human-readable description of the labels associated with thisLabelsetMetadata.StringgetID()Returns a unique identifier for the correspondingLabelProvider.StringgetOrigin()intgetPriority()This defines the order on which a labelSet will be shown in a report.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
AbstractLabelsetMetadata
public AbstractLabelsetMetadata(String id)
Construct a newAbstractLabelsetMetadatainstance using the givenStringID.
-
-
Method Detail
-
getID
public String getID()
Description copied from interface:LabelsetMetadataReturns a unique identifier for the correspondingLabelProvider.- Specified by:
getIDin interfaceLabelsetMetadata
-
getDescription
public String getDescription()
Description copied from interface:LabelsetMetadataReturns a human-readable description of the labels associated with thisLabelsetMetadata.- Specified by:
getDescriptionin interfaceLabelsetMetadata
-
getOrigin
public String getOrigin()
Description copied from interface:LabelsetMetadata- Specified by:
getOriginin interfaceLabelsetMetadata
-
getPriority
public int getPriority()
Description copied from interface:LabelsetMetadataThis defines the order on which a labelSet will be shown in a report. Lowest priority values will be loaded first. By default core labelSets must have priority 1- Specified by:
getPriorityin interfaceLabelsetMetadata
-
-