org.fusesource.fabric.commands
Class Import

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.FabricCommand
              extended by org.fusesource.fabric.commands.Import
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class Import
extends FabricCommand


Field Summary
protected  java.lang.String[] nregex
           
protected  java.lang.String source
           
 
Fields inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
AGENT_PID, configurationAdmin, fabricService
 
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
Import()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected  void doExecute(org.linkedin.zookeeper.client.IZKClient zk)
           
 java.lang.String getSource()
           
 java.lang.String getTarget()
           
 boolean isFilesystem()
           
 boolean isVerbose()
           
 void setFilesystem(boolean filesystem)
           
 void setSource(java.lang.String source)
           
 void setTarget(java.lang.String target)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getFabricService, getProfile, getProfiles, getProfiles, getZooKeeper, percentText, setConfigurationAdmin, setFabricService, setZooKeeper, toString
 
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
 

Field Detail

source

protected java.lang.String source

nregex

protected java.lang.String[] nregex
Constructor Detail

Import

public Import()
Method Detail

doExecute

protected void doExecute(org.linkedin.zookeeper.client.IZKClient zk)
                  throws java.lang.Exception
Throws:
java.lang.Exception

isFilesystem

public boolean isFilesystem()

setFilesystem

public void setFilesystem(boolean filesystem)

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String target)

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean verbose)

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


Copyright © 2012 FuseSource. All Rights Reserved.