Class AliasesParser

java.lang.Object
ecmwf.ecpds.master.transfer.AliasesParser

public final class AliasesParser extends Object
The Class AliasesParser.
  • Constructor Details

    • AliasesParser

      public AliasesParser(Destination destination, String target, String lifetime, long delay, int priority, boolean asap, boolean event) throws IOException, DataBaseException
      Instantiates a new aliases parser. Let's go recursively through the Aliases to build the options tree.
      Parameters:
      destination - the destination
      target - the target
      lifetime - the lifetime
      delay - the delay
      priority - the priority
      asap - the asap
      event - the event
      Throws:
      IOException - Signals that an I/O exception has occurred.
      DataBaseException - the data base exception
  • Method Details

    • getDestinations

      public Collection<Destination> getDestinations()
      Get the list of Destinations where a DataTransfer should be created.
      Returns:
      the destinations
    • getAliasOptions

      public AliasesParser.AliasOptions getAliasOptions(String destination)
      Get the options for a specific Destination.
      Parameters:
      destination - the destination
      Returns:
      the alias options