|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
static final java.lang.String CREATE_PROJECT
static final java.lang.String CREATE_BUNDLE
static final java.lang.String IMPORT_BUNDLE
static final java.lang.String EMBED_JAR
static final java.lang.String WRAP_JAR
Method Detail |
---|
PaxCommandBuilder call(java.lang.String command)
command
- name of a Pax-Construct command
void write(java.lang.String title, java.io.File scriptFile, java.util.List setupCommands) throws java.io.IOException
title
- descriptive name for the scriptscriptFile
- where the script should be savedsetupCommands
- sequence of setup commands
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |