org.osjava.payload
Interface Paylet


public interface Paylet

Post-extraction custom executable. Hooked into the system at contraction time via the payload.properties file and -x flag.


Method Summary
 void execute(PayloadConfiguration configuration, java.util.Properties properties)
          Execute the paylet with the provided arguments.
 void setArgs(java.lang.String[] args)
          Set the arguments to be used each time for the paylet.
 

Method Detail

setArgs

void setArgs(java.lang.String[] args)
Set the arguments to be used each time for the paylet.

Parameters:
args - Arguments to the paylet, never null.

execute

void execute(PayloadConfiguration configuration,
             java.util.Properties properties)
Execute the paylet with the provided arguments.

Parameters:
configuration - The baked in payload.properties.
properties - The user supplied deployment properties.


Copyright © 2004-2005 OSJava. All Rights Reserved.