F4FHandler

java.lang.Object
  com.ibm.appscan.frameworks.highlevelapi.F4FHandler

public abstract class F4FHandler
extends java.lang.Object

The abstract class that any new framework handler should extend.

Note: Any sub-class of F4FHandler must have a no-argument constructor, for instantiation using reflection

Constructor Detail

F4FHandler

public F4FHandler()

handleApp

public abstract void handleApp(F4FApp app,
                               F4FActions actions)

Define what actions should be represented in the generated WAFL specification to handle the given application.

Parameters:

  • app - the application to be analyzed
  • actions - the actions to be taken; implementations of handleApp(F4FApp, F4FActions) should mutate this parameter and store the desired actions

isApplicable

public abstract boolean isApplicable()

Is the framework handler applicable for the target application? Implementations should check the language of the app, whether relevant configuration files are present, etc.

setFrameworksInput

public void setFrameworksInput(FrameworksInput input)

Should not be invoked by a framework handler.

getFrameworksInput

protected FrameworksInput getFrameworksInput()

Get the parsed representation of the input parameters to the frameworks code.