org.pentaho.di.core.util
Class PluginPropertyHandler

java.lang.Object
  extended by org.pentaho.di.core.util.PluginPropertyHandler

public final class PluginPropertyHandler
extends Object

Author:
Thomas Hoedl(asc042)

Nested Class Summary
static class PluginPropertyHandler.AbstractHandler
           
static class PluginPropertyHandler.AppendXml
           
static class PluginPropertyHandler.Fail
           
static class PluginPropertyHandler.LoadXml
           
static class PluginPropertyHandler.ReadFromPreferences
           
static class PluginPropertyHandler.ReadFromRepository
           
static class PluginPropertyHandler.SaveToPreferences
           
static class PluginPropertyHandler.SaveToRepository
           
 
Method Summary
static void assertProperties(KeyValueSet properties)
           
static String toXml(KeyValueSet properties)
           
static void walk(KeyValueSet properties, org.apache.commons.collections.Closure handler)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertProperties

public static void assertProperties(KeyValueSet properties)
                             throws IllegalArgumentException
Parameters:
properties - properties to test.
Throws:
IllegalArgumentException - if properties is null.

toXml

public static String toXml(KeyValueSet properties)
                    throws IllegalArgumentException
Parameters:
properties - properties
Returns:
XML String
Throws:
IllegalArgumentException - if properties is null

walk

public static void walk(KeyValueSet properties,
                        org.apache.commons.collections.Closure handler)
                 throws KettleException,
                        IllegalArgumentException
Parameters:
properties - properties.
handler - handler.
Throws:
KettleException - ...
IllegalArgumentException - if properties is null.