org.fusesource.fabric.boot.commands
Class Create

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.fusesource.fabric.boot.commands.support.EnsembleCommandSupport
              extended by org.fusesource.fabric.boot.commands.Create
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware, Create

public class Create
extends EnsembleCommandSupport
implements Create


Field Summary
 
Fields inherited from class org.fusesource.fabric.boot.commands.support.EnsembleCommandSupport
service
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
Create()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 java.util.List<java.lang.String> getContainers()
           
 long getEnsembleStartupTime()
           
 java.lang.String getImportDir()
           
 java.lang.String getProfile()
           
 boolean isClean()
           
 boolean isNoImport()
           
 boolean isNonManaged()
           
 boolean isVerbose()
           
 java.lang.Object run()
           
 void setClean(boolean clean)
           
 void setContainers(java.util.List<java.lang.String> containers)
           
 void setEnsembleStartupTime(long ensembleStartupTime)
           
 void setImportDir(java.lang.String importDir)
           
 void setNoImport(boolean noImport)
           
 void setNonManaged(boolean nonManaged)
           
 void setProfile(java.lang.String profile)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class org.fusesource.fabric.boot.commands.support.EnsembleCommandSupport
checkFabricAvailable, getService, setService
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Create

public Create()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws java.lang.Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
java.lang.Exception

run

public java.lang.Object run()
                     throws java.lang.Exception
Specified by:
run in interface Create
Throws:
java.lang.Exception

isClean

public boolean isClean()
Specified by:
isClean in interface Create

setClean

public void setClean(boolean clean)
Specified by:
setClean in interface Create

isNoImport

public boolean isNoImport()
Specified by:
isNoImport in interface Create

setNoImport

public void setNoImport(boolean noImport)
Specified by:
setNoImport in interface Create

getImportDir

public java.lang.String getImportDir()
Specified by:
getImportDir in interface Create

setImportDir

public void setImportDir(java.lang.String importDir)
Specified by:
setImportDir in interface Create

isVerbose

public boolean isVerbose()
Specified by:
isVerbose in interface Create

setVerbose

public void setVerbose(boolean verbose)
Specified by:
setVerbose in interface Create

getEnsembleStartupTime

public long getEnsembleStartupTime()
Specified by:
getEnsembleStartupTime in interface Create

setEnsembleStartupTime

public void setEnsembleStartupTime(long ensembleStartupTime)
Specified by:
setEnsembleStartupTime in interface Create

getContainers

public java.util.List<java.lang.String> getContainers()
Specified by:
getContainers in interface Create

setContainers

public void setContainers(java.util.List<java.lang.String> containers)
Specified by:
setContainers in interface Create

getProfile

public java.lang.String getProfile()
Specified by:
getProfile in interface Create

setProfile

public void setProfile(java.lang.String profile)
Specified by:
setProfile in interface Create

isNonManaged

public boolean isNonManaged()
Specified by:
isNonManaged in interface Create

setNonManaged

public void setNonManaged(boolean nonManaged)
Specified by:
setNonManaged in interface Create


Copyright © 2012 FuseSource. All Rights Reserved.