RSE
Release 3.2

org.eclipse.rse.dstore.universal.miners
Class EnvironmentMiner

java.lang.Object
  extended by java.lang.Thread
      extended by org.eclipse.dstore.core.server.SecuredThread
          extended by org.eclipse.dstore.core.model.Handler
              extended by org.eclipse.dstore.core.miners.Miner
                  extended by org.eclipse.rse.dstore.universal.miners.EnvironmentMiner
All Implemented Interfaces:
Runnable, org.eclipse.dstore.core.model.ISchemaExtender

public class EnvironmentMiner
extends org.eclipse.dstore.core.miners.Miner

The environment miner provides access to the environment variables on a remote system and allows the store environment variables to be altered for use in other miners that launch shells.


Field Summary
 
Fields inherited from class org.eclipse.dstore.core.miners.Miner
_commandQueue, _dependencies, _minerData, _minerElement, _minerTransient, _name, _resourceBundle, _value
 
Fields inherited from class org.eclipse.dstore.core.model.Handler
_keepRunning, _waitIncrement
 
Fields inherited from class org.eclipse.dstore.core.server.SecuredThread
_dataStore
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EnvironmentMiner()
           
 
Method Summary
 void extendSchema(org.eclipse.dstore.core.model.DataElement schemaRoot)
           
protected  ArrayList getDependencies()
           
 String getVersion()
           
 org.eclipse.dstore.core.model.DataElement handleCommand(org.eclipse.dstore.core.model.DataElement theElement)
           
 void handleSetEnvironment(org.eclipse.dstore.core.model.DataElement theElement, org.eclipse.dstore.core.model.DataElement environment)
           
 void load()
           
 
Methods inherited from class org.eclipse.dstore.core.miners.Miner
command, createAbstractCommandDescriptor, createAbstractObjectDescriptor, createAbstractObjectDescriptor, createAbstractRelationship, createCommandDescriptor, createCommandDescriptor, createObjectDescriptor, createObjectDescriptor, createReference, createRelationDescriptor, finish, getCommandArgument, getCommandName, getCommandStatus, getExternalLoader, getMinerData, getMinerDependencies, getMinerElement, getMinerName, getMinerTransient, getNumberOfCommandArguments, getResourceBundle, getSchemaRoot, getValue, handle, initMiner, isConnected, isInitialized, load, makeTransient, requestCommand, setDataStore, setExternalLoader, updateMinerInfo, waitForInput
 
Methods inherited from class org.eclipse.dstore.core.model.Handler
getWaitTime, isFinished, notifyInput, run, setWaitTime
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentMiner

public EnvironmentMiner()
Method Detail

load

public void load()
Overrides:
load in class org.eclipse.dstore.core.miners.Miner

getDependencies

protected ArrayList getDependencies()
Overrides:
getDependencies in class org.eclipse.dstore.core.miners.Miner

extendSchema

public void extendSchema(org.eclipse.dstore.core.model.DataElement schemaRoot)

handleCommand

public org.eclipse.dstore.core.model.DataElement handleCommand(org.eclipse.dstore.core.model.DataElement theElement)
Specified by:
handleCommand in class org.eclipse.dstore.core.miners.Miner

handleSetEnvironment

public void handleSetEnvironment(org.eclipse.dstore.core.model.DataElement theElement,
                                 org.eclipse.dstore.core.model.DataElement environment)

getVersion

public String getVersion()
Specified by:
getVersion in class org.eclipse.dstore.core.miners.Miner

RSE
Release 3.2

Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.