org.codehaus.mojo.javascript.assembler
Class Script

java.lang.Object
  extended by org.codehaus.mojo.javascript.assembler.Script
All Implemented Interfaces:
java.io.Serializable

public class Script
extends java.lang.Object
implements java.io.Serializable

Merge multiple source scripts into a target script.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Script()
           
 
Method Summary
 void addInclude(java.lang.String string)
          Method addInclude.
 java.lang.String getFileName()
          Get the script to be created by the merge.
 java.util.List getIncludes()
          Method getIncludes.
 void removeInclude(java.lang.String string)
          Method removeInclude.
 void setFileName(java.lang.String fileName)
          Set the script to be created by the merge.
 void setIncludes(java.util.List includes)
          Set this is a list of <include/> subelements, each containing a source script reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Script

public Script()
Method Detail

addInclude

public void addInclude(java.lang.String string)
Method addInclude.

Parameters:
string -

getFileName

public java.lang.String getFileName()
Get the script to be created by the merge.

Returns:
String

getIncludes

public java.util.List getIncludes()
Method getIncludes.

Returns:
List

removeInclude

public void removeInclude(java.lang.String string)
Method removeInclude.

Parameters:
string -

setFileName

public void setFileName(java.lang.String fileName)
Set the script to be created by the merge.

Parameters:
fileName -

setIncludes

public void setIncludes(java.util.List includes)
Set this is a list of <include/> subelements, each containing a source script reference. Scripts matching these elements will be merged in the target script, in the order they are configured.

Parameters:
includes -


Copyright © 2011 SOFTEC sa. All Rights Reserved.