com.sun.javacard.ant.tasks
Class VerifierTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.Java
              extended bycom.sun.javacard.ant.tasks.JavacardTaskBase
                  extended bycom.sun.javacard.ant.tasks.VerifierTask
Direct Known Subclasses:
VerifyCapTask, VerifyExpTask, VerifyRevTask

public abstract class VerifierTask
extends JavacardTaskBase

This is the base class for all verifier tasks


Field Summary
protected  java.util.ArrayList exportFiles
          list of export files
protected  java.util.Vector exportFileSets
          list of file sets containing export files
protected  boolean noWarn
          Turns on (or off) the noWarn flag for verifier tools
protected  boolean verbose
          Turns on (or off) the verbose flag for verifier tools
 
Fields inherited from class com.sun.javacard.ant.tasks.JavacardTaskBase
bundleName, messages, noBanner, version
 
Fields inherited from class org.apache.tools.ant.taskdefs.Java
redirector, redirectorElement
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
VerifierTask()
           
 
Method Summary
 void addExportFiles(org.apache.tools.ant.types.FileSet fs)
          adds export file set to the export file set list
protected  void extractFileNames(org.apache.tools.ant.types.FileSet fs)
          Extracts file names from a file set and puts them along with their fully qualified paths in exportFiles arrayList.
 void setNoWarn(boolean on)
          switches the noWarn flag
 void setupCommandLineOptions()
          This method sets the common command line options for the verifier tools
 void setVerbose(boolean on)
          switches the verbose flag
 
Methods inherited from class com.sun.javacard.ant.tasks.JavacardTaskBase
setNoBanner, setupCommonOptions, setVersion
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, execute, executeJava, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verbose

protected boolean verbose
Turns on (or off) the verbose flag for verifier tools


noWarn

protected boolean noWarn
Turns on (or off) the noWarn flag for verifier tools


exportFiles

protected java.util.ArrayList exportFiles
list of export files


exportFileSets

protected java.util.Vector exportFileSets
list of file sets containing export files

Constructor Detail

VerifierTask

public VerifierTask()
Method Detail

extractFileNames

protected void extractFileNames(org.apache.tools.ant.types.FileSet fs)
Extracts file names from a file set and puts them along with their fully qualified paths in exportFiles arrayList.

Parameters:
fs - is the file set from which the list of files is to be extracted

setVerbose

public void setVerbose(boolean on)
switches the verbose flag

Parameters:
on - switches the verbose on of off, default is off, silent mode.

setNoWarn

public void setNoWarn(boolean on)
switches the noWarn flag

Parameters:
on - switches the noWarn on or off, default is off, no warnings are given

addExportFiles

public void addExportFiles(org.apache.tools.ant.types.FileSet fs)
adds export file set to the export file set list

Parameters:
fs - file set containing export files

setupCommandLineOptions

public void setupCommandLineOptions()
This method sets the common command line options for the verifier tools



Copyright © 2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA-95054, U.S.A. All Rights Reserved.