de.smartics.maven.plugin.buildmetadata.data
Class Provider

Package class diagram package Provider
java.lang.Object
  extended by de.smartics.maven.plugin.buildmetadata.data.Provider

public class Provider
     
     
extends Object

Configuration instance to create instances of MetaDataProvider by the MetaDataProviderBuilder.

Author:
Robert Reiner

Field Summary
static String RUN_AT_BUILD_POINT
          The name of the property to indicate that a provider is to be run with the build point mojo.
 
Constructor Summary
Provider()
           
 
Method Summary
 Map<String,String> getProperties()
          Returns the value for properties.
 String getType()
          Returns the class to instantiate.
 boolean isRunAtEndOfBuild()
          Checks if the provider is configured to be run at the end of the build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RUN_AT_BUILD_POINT

public static final String RUN_AT_BUILD_POINT
The name of the property to indicate that a provider is to be run with the build point mojo. Usually this kind of provider export the build information to a backend system or measures time at a given point of the build.

The value of this constant is "runAtBuildPoint".

Constant Field Value:
"runAtBuildPoint"
Constructor Detail

Provider

public Provider()
Method Detail

getType

public final String getType()
Returns the class to instantiate.

Returns:
the class to instantiate.

getProperties

public final Map<String,String> getProperties()
Returns the value for properties.

Properties to set.

Returns:
the value for properties.

isRunAtEndOfBuild

public final boolean isRunAtEndOfBuild()
Checks if the provider is configured to be run at the end of the build. Usually this kind of provider export the build information to a backend system.

Returns:
true if the provider runs at the end of the build, false if it runs at the start.


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