Package org.jboss.windup.config.metadata
Class LabelMetadataBuilder
- java.lang.Object
-
- org.jboss.windup.config.metadata.AbstractLabelsetMetadata
-
- org.jboss.windup.config.metadata.LabelMetadataBuilder
-
- All Implemented Interfaces:
LabelProviderMetadata,LabelsetMetadata
public class LabelMetadataBuilder extends AbstractLabelsetMetadata implements LabelProviderMetadata
Create concrete classes ofLabelProviderMetadata- Author:
- Carlos Feria
-
-
Constructor Summary
Constructors Constructor Description LabelMetadataBuilder(String ID, String description)When no priority is specified, then we assign it.LabelMetadataBuilder(String ID, String description, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns a human-readable description of the labels associated with thisLabelsetMetadata.StringgetOrigin()intgetPriority()This defines the order on which a labelSet will be shown in a report.voidsetOrigin(String origin)-
Methods inherited from class org.jboss.windup.config.metadata.AbstractLabelsetMetadata
equals, getID, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.windup.config.metadata.LabelsetMetadata
getID
-
-
-
-
Constructor Detail
-
LabelMetadataBuilder
public LabelMetadataBuilder(String ID, String description)
When no priority is specified, then we assign it. Read more about priority hereLabelsetMetadata.getPriority()
-
-
Method Detail
-
getOrigin
public String getOrigin()
Description copied from interface:LabelsetMetadata- Specified by:
getOriginin interfaceLabelsetMetadata- Overrides:
getOriginin classAbstractLabelsetMetadata
-
setOrigin
public void setOrigin(String origin)
-
getDescription
public String getDescription()
Description copied from interface:LabelsetMetadataReturns a human-readable description of the labels associated with thisLabelsetMetadata.- Specified by:
getDescriptionin interfaceLabelsetMetadata- Overrides:
getDescriptionin classAbstractLabelsetMetadata
-
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- Overrides:
getPriorityin classAbstractLabelsetMetadata
-
-