SMILA (incubation) API documentation

org.eclipse.smila.processing.configuration
Class PipeletConfiguration

java.lang.Object
  extended by org.eclipse.smila.processing.configuration.PipeletConfiguration

public class PipeletConfiguration
extends java.lang.Object

The PipeletConfiguration.


Nested Class Summary
static class PipeletConfiguration.Property
          The Class Property.
 
Constructor Summary
PipeletConfiguration()
           
 
Method Summary
 java.util.List<PipeletConfiguration.Property> getProperties()
          Gets the properties.
 java.lang.Object getPropertyFirstValue(java.lang.String name)
          Gets the first property value.
 java.lang.Object getPropertyFirstValueNotNull(java.lang.String name)
          Gets the property value.
 java.lang.String[] getPropertyStringValues(java.lang.String name)
          Gets the property values as Strings.
 java.lang.Object[] getPropertyValues(java.lang.String name)
          Gets the property values.
 boolean hasPropertyValue(java.lang.String name)
          Checks for value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeletConfiguration

public PipeletConfiguration()
Method Detail

getPropertyFirstValue

public java.lang.Object getPropertyFirstValue(java.lang.String name)
Gets the first property value.

Parameters:
name - the name
Returns:
the first property value

hasPropertyValue

public boolean hasPropertyValue(java.lang.String name)
Checks for value.

Parameters:
name - property name
Returns:
true, if successful

getPropertyValues

public java.lang.Object[] getPropertyValues(java.lang.String name)
Gets the property values.

Parameters:
name - the name
Returns:
the property Object[] of values

getPropertyStringValues

public java.lang.String[] getPropertyStringValues(java.lang.String name)
Gets the property values as Strings.

Parameters:
name - the name
Returns:
the property String[] of values

getPropertyFirstValueNotNull

public java.lang.Object getPropertyFirstValueNotNull(java.lang.String name)
                                              throws ProcessingException
Gets the property value. The resolved property must have a not null value.

Parameters:
name - the name
Returns:
the property value
Throws:
ProcessingException - Resolved value is null.

getProperties

public java.util.List<PipeletConfiguration.Property> getProperties()
Gets the properties.

Returns:
the properties

SMILA (incubation) API documentation