org.flexunit.ant.launcher.commands.player
Class AdlCommand

java.lang.Object
  extended by org.flexunit.ant.launcher.commands.Command
      extended by org.flexunit.ant.launcher.commands.player.DefaultPlayerCommand
          extended by org.flexunit.ant.launcher.commands.player.AdlCommand
All Implemented Interfaces:
PlayerCommand

public class AdlCommand
extends DefaultPlayerCommand


Field Summary
private  java.lang.String ADT_JAR_PATH
           
private  java.lang.String DESCRIPTOR_FILE
           
private  java.lang.String DESCRIPTOR_TEMPLATE
           
private  java.io.File precompiledAppDescriptor
           
 
Constructor Summary
AdlCommand()
           
 
Method Summary
private  void createApplicationDescriptor()
          Used to create the application descriptor used to invoke adl
private  java.lang.String generateExecutable()
           
 java.io.File getFileToExecute()
           
 java.io.File getPrecompiledAppDescriptor()
           
private  double getVersion()
           
private  double parseAdtVersionNumber(java.lang.String versionString)
           
 void prepare()
           
 void setPrecompiledAppDescriptor(java.io.File precompiledAppDescriptor)
           
 
Methods inherited from class org.flexunit.ant.launcher.commands.player.DefaultPlayerCommand
getDefaults, getSwf, getUrl, launch, setDefaults, setSwf, setUrl
 
Methods inherited from class org.flexunit.ant.launcher.commands.Command
execute, getCommandLine, getEnvironment, getProject, setEnvironment, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.flexunit.ant.launcher.commands.player.PlayerCommand
setEnvironment, setProject
 

Field Detail

ADT_JAR_PATH

private final java.lang.String ADT_JAR_PATH

DESCRIPTOR_TEMPLATE

private final java.lang.String DESCRIPTOR_TEMPLATE
See Also:
Constant Field Values

DESCRIPTOR_FILE

private final java.lang.String DESCRIPTOR_FILE
See Also:
Constant Field Values

precompiledAppDescriptor

private java.io.File precompiledAppDescriptor
Constructor Detail

AdlCommand

public AdlCommand()
Method Detail

getFileToExecute

public java.io.File getFileToExecute()
Specified by:
getFileToExecute in interface PlayerCommand
Specified by:
getFileToExecute in class DefaultPlayerCommand

createApplicationDescriptor

private void createApplicationDescriptor()
Used to create the application descriptor used to invoke adl


getVersion

private double getVersion()

parseAdtVersionNumber

private double parseAdtVersionNumber(java.lang.String versionString)

prepare

public void prepare()
Specified by:
prepare in interface PlayerCommand
Specified by:
prepare in class DefaultPlayerCommand

generateExecutable

private java.lang.String generateExecutable()

getPrecompiledAppDescriptor

public java.io.File getPrecompiledAppDescriptor()

setPrecompiledAppDescriptor

public void setPrecompiledAppDescriptor(java.io.File precompiledAppDescriptor)