Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2006-2014 smartics, Kronseder & Reiner GmbH
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 package com.redhat.rcm.maven.plugin.buildmetadata.data;
 
 import java.util.Map;

Configuration instance to create instances of MetaDataProvider by the MetaDataProviderBuilder.

Author(s):
Robert Reiner
Version:
$Revision:591 $
 
 public class Provider
 {
   // ********************************* Fields *********************************
 
   // --- constants ------------------------------------------------------------
 
  
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 .

 
   public static final String RUN_AT_BUILD_POINT = "runAtBuildPoint";
 
   // --- members --------------------------------------------------------------
 
  
The class to instantiate.
 
   private String type;

  
Properties to set.
 
   private Map<StringStringproperties;
 
   // ****************************** Initializer *******************************
 
   // ****************************** Constructors ******************************
 
   // ****************************** Inner Classes *****************************
 
   // ********************************* Methods ********************************
 
   // --- init -----------------------------------------------------------------
 
   // --- get&set --------------------------------------------------------------
 
  
Returns the class to instantiate.

Returns:
the class to instantiate.
 
   public final String getType()
   {
     return ;
   }

  
Returns the value for properties.

Properties to set.

Returns:
the value for properties.
 
   public final Map<StringStringgetProperties()
   {
     return ;
   }

  
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.
 
   public final boolean isRunAtEndOfBuild()
   {
    return ("true".equals(.get()));
  }
  // --- business -------------------------------------------------------------
  // --- object basics --------------------------------------------------------
New to GrepCode? Check out our FAQ X