org.ops4j.pax.construct.clone
Interface PaxScript

All Known Implementing Classes:
PaxScriptImpl

public interface PaxScript

Builder interface for a build script based on Pax-Construct commands


Field Summary
static java.lang.String CREATE_BUNDLE
          Create a new OSGi bundle
static java.lang.String CREATE_PROJECT
          Create a new OSGi project
static java.lang.String EMBED_JAR
          Embed a third-party jar inside an OSGi bundle
static java.lang.String IMPORT_BUNDLE
          Import an existing OSGi bundle
static java.lang.String WRAP_JAR
          Wrap a third-party jar as an OSGi bundle
 
Method Summary
 PaxCommandBuilder call(java.lang.String command)
          Add a call to a Pax-Construct command
 void write(java.lang.String title, java.io.File scriptFile, java.util.List setupCommands)
          Write the current script to a file, the file extension is used to customize the contents for the target system
 

Field Detail

CREATE_PROJECT

static final java.lang.String CREATE_PROJECT
Create a new OSGi project

See Also:
Constant Field Values

CREATE_BUNDLE

static final java.lang.String CREATE_BUNDLE
Create a new OSGi bundle

See Also:
Constant Field Values

IMPORT_BUNDLE

static final java.lang.String IMPORT_BUNDLE
Import an existing OSGi bundle

See Also:
Constant Field Values

EMBED_JAR

static final java.lang.String EMBED_JAR
Embed a third-party jar inside an OSGi bundle

See Also:
Constant Field Values

WRAP_JAR

static final java.lang.String WRAP_JAR
Wrap a third-party jar as an OSGi bundle

See Also:
Constant Field Values
Method Detail

call

PaxCommandBuilder call(java.lang.String command)
Add a call to a Pax-Construct command

Parameters:
command - name of a Pax-Construct command
Returns:
builder for the Pax-Construct command

write

void write(java.lang.String title,
           java.io.File scriptFile,
           java.util.List setupCommands)
           throws java.io.IOException
Write the current script to a file, the file extension is used to customize the contents for the target system

Parameters:
title - descriptive name for the script
scriptFile - where the script should be saved
setupCommands - sequence of setup commands
Throws:
java.io.IOException


Copyright © 2007-2008 OPS4J. All Rights Reserved.