org.figure8.join.services.properties
Interface PropertiesExtractor

All Known Implementing Classes:
AssemblyPropertiesExtractor, BuildPropertiesExtractor, ComponentPropertiesExtractor, DefaultPropertiesExtractor, DeliverablePropertiesExtractor, DeploymentPropertiesExtractor, PhysicalEnvironmentPropertiesExtractor

public interface PropertiesExtractor

This is a service interface defining a general purpose object converter that extract from object (and its inner fields graph) a set of properties.
Use an extractor to flatten objects for using them, for example, as environment variables of a runtime evaluated script.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux

Method Summary
 java.util.Properties extract(java.lang.Object obj)
          Extract a set of properties from the given object.
 

Method Detail

extract

java.util.Properties extract(java.lang.Object obj)
                             throws InvalidParameterException
Extract a set of properties from the given object.

Parameters:
obj - The object to extract properties from
Returns:
A set of properties representing the object and its inner fields graph
Throws:
InvalidParameterException - if the object cannot be processed by implementation


Copyright © 2005-2008 Join. All Rights Reserved.