de.smartics.maven.plugin.buildmetadata.common
Class Property

Package class diagram package Property
java.lang.Object
  extended by de.smartics.maven.plugin.buildmetadata.common.Property

public final class Property
     
     
extends Object

Defines a property to be selected by the user to include into the build meta data properties.

Author:
Robert Reiner

Constructor Summary
Property()
           
 
Method Summary
 String getLabel()
          Returns the label used for reports.
 String getMappedName()
          Returns the name of the property in the build meta data properties.
 String getName()
          Returns the name of the system property to add to the build meta data properties.
 String getSection()
          Returns the section the property is added to.
 String getValue()
          Returns the value provided for the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()
Method Detail

getName

public String getName()
Returns the name of the system property to add to the build meta data properties.

Returns:
the name of the system property to add to the build meta data properties.

getMappedName

public String getMappedName()
Returns the name of the property in the build meta data properties. This allows change the name of the property.

Returns:
the name of the property in the build meta data properties. If the mapped name is not given, the name is returned.

getValue

public String getValue()
Returns the value provided for the property. No lookup is performed. Standard Maven properties are resolved.

Returns:
the value provided for the property.

getSection

public String getSection()
Returns the section the property is added to. If omitted or invalid, the property is added to the build.misc section.

Valid section identifiers are:

Returns:
the section the property is added to.

getLabel

public String getLabel()
Returns the label used for reports. If unset, the name of the property is used as a label.

Returns:
the label used for reports.


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.