Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems.impl
Class CandidateCommandImpl

java.lang.Object
  extended bycom.ibm.etools.systems.subsystems.impl.CandidateCommandImpl
All Implemented Interfaces:
IAdaptable, ICandidateCommand
Direct Known Subclasses:
LocalCandidateCommand, UniversalCandidateCommandImpl

public class CandidateCommandImpl
extends Object
implements IAdaptable, ICandidateCommand

class represents a candidate command to run


Field Summary
protected  String _description
           
protected  ImageDescriptor _imageDescriptor
           
protected  String _name
           
protected  String _path
           
protected  String _type
           
static String Copyright
           
 
Constructor Summary
CandidateCommandImpl(String type, String name, String description, String path)
          Constructor
 
Method Summary
 Object getAdapter(Class adapterType)
           
 String getDescription()
          Gets the description for a candidate command.
 ImageDescriptor getImageDescriptor()
          Gets the image descriptor to display for a candidate command
 String getName()
          Gets the name of the candidate command
 String getPath()
          Gets the path of a candidate command.
 String getType()
          Gets the type of the candidate command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_name

protected String _name

_type

protected String _type

_description

protected String _description

_path

protected String _path

_imageDescriptor

protected ImageDescriptor _imageDescriptor
Constructor Detail

CandidateCommandImpl

public CandidateCommandImpl(String type,
                            String name,
                            String description,
                            String path)
Constructor

Parameters:
type - indicates the type of the candidate command
name - indicates the name of the candidate command
description - describes the candidate command
path - indicates the path of the candidate command if one exists
Method Detail

getName

public String getName()
Gets the name of the candidate command

Specified by:
getName in interface ICandidateCommand
Returns:
the name of the candidate command

getType

public String getType()
Gets the type of the candidate command.

Specified by:
getType in interface ICandidateCommand
Returns:
the type of the command

getPath

public String getPath()
Gets the path of a candidate command.

Specified by:
getPath in interface ICandidateCommand
Returns:
the path to the command, if one exists

getDescription

public String getDescription()
Gets the description for a candidate command.

Specified by:
getDescription in interface ICandidateCommand
Returns:
the description of the command

getImageDescriptor

public ImageDescriptor getImageDescriptor()
Gets the image descriptor to display for a candidate command

Specified by:
getImageDescriptor in interface ICandidateCommand
Returns:
the image descriptor for the command

getAdapter

public Object getAdapter(Class adapterType)
Specified by:
getAdapter in interface IAdaptable

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.