Package org.apache.torque.generator.outlet.copy

# Klasse CopyOutlet

java.lang.Object
org.apache.torque.generator.outlet.OutletImpl
org.apache.torque.generator.outlet.copy.CopyOutlet

Alle implementierten Schnittstellen:
  `Outlet`

public class CopyOutlet extends OutletImpl
A Outlet which copies a given resource unchanged.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `CopyOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path)`
  Constructs a new CopyOutlet.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `OutletResult`
  `execute(ControllerState controllerState)`
  Executes the generation process; the result is returned.

  ### Von Klasse geerbte Methoden org.apache.torque.generator.outlet.OutletImpl

  `addMergepointMapping, afterExecute, beforeExecute, getInputClass, getInputElementName, getMergepointMapping, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Konstruktordetails

  - ### CopyOutlet

    public CopyOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path) throws ConfigurationException
    Constructs a new CopyOutlet.
    Parameter:
      `name` - the name of this outlet, not null.
      `configurationProvider` - the provider for reading the resources, not null.
      `path` - the path to the resource, not null. May contain tokens of the form ${....}, these are parsed.
    Löst aus:
      `NullPointerException` - if name, path or configurationProvider are null.
      `ConfigurationException` - if an error occurs while reading the template.

- ## Methodendetails

  - ### execute

    public OutletResult execute(ControllerState controllerState) throws GeneratorException
    Executes the generation process; the result is returned.
    Angegeben von:
      `execute` in Schnittstelle `Outlet`
    Angegeben von:
      `execute` in Klasse `OutletImpl`
    Parameter:
      `controllerState` - the current controller state.
    Gibt zurück:
      the result of the generation, not null.
    Löst aus:
      `GeneratorException` - if generation fails.
    Siehe auch:
      - `Outlet.execute(ControllerState)`