uk.ac.ncl.cs.instantsoap.commandlineprocessor.applicationSpec
Class Applications

java.lang.Object
  extended by uk.ac.ncl.cs.instantsoap.commandlineprocessor.applicationSpec.Applications

public final class Applications
extends Object

Static utility class for working with applications.

Author:
Matthew Pocock

Method Summary
static Input input(MetaData metaData)
           
static Input input(MetaData metaData, String renameTo)
           
static Input input(String name)
           
static Input input(String name, String renameTo)
           
static Output output(MetaData metaData)
           
static Output output(MetaData metaData, String renameTo)
           
static Output output(String name)
           
static Output output(String name, String renameTo)
           
static void validateApplication(Application app)
           
static void validateCommandFormat(CommandFormat cFormat)
           
static void validateCommandLine(CommandLine<VariableExpression> cLine)
           
static void validateInput(Input i)
           
static void validateMetaData(MetaData md, boolean requireName, boolean requireDescription, boolean requireAnnotation)
           
static void validateOutputs(Output o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

input

public static Input input(String name)

input

public static Input input(MetaData metaData)

input

public static Input input(MetaData metaData,
                          String renameTo)

input

public static Input input(String name,
                          String renameTo)

output

public static Output output(String name)

output

public static Output output(MetaData metaData)

output

public static Output output(MetaData metaData,
                            String renameTo)

output

public static Output output(String name,
                            String renameTo)

validateApplication

public static void validateApplication(Application app)
                                throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException

validateMetaData

public static void validateMetaData(MetaData md,
                                    boolean requireName,
                                    boolean requireDescription,
                                    boolean requireAnnotation)
                             throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException

validateCommandLine

public static void validateCommandLine(CommandLine<VariableExpression> cLine)
                                throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException

validateCommandFormat

public static void validateCommandFormat(CommandFormat cFormat)
                                  throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException

validateInput

public static void validateInput(Input i)
                          throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException

validateOutputs

public static void validateOutputs(Output o)
                            throws ApplicationConfigurationException
Throws:
ApplicationConfigurationException


Copyright © 2006-2008. All Rights Reserved.