站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

VcsDescribedTask (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.commands
Interface VcsDescribedTask

All Known Implementing Classes:
UserCommandTask

public interface VcsDescribedTask

This class represents a command task whose behavior is described by VcsCommand.


Method Summary
 VcsCommandExecutor getExecutor()
          Get the executor of the command.
 Map getVariables()
          Get variables that are used for the task execution.
 VcsCommand getVcsCommand()
          Get the VcsCommand instance associated with this command.
 VcsCommandVisualizer getVisualizer(boolean gui)
          Get the visualizer of the command.
 boolean hasGUIVisualizer()
          Test whether this task has a GUI visualizer.
 

Method Detail

getVcsCommand

public VcsCommand getVcsCommand()
Get the VcsCommand instance associated with this command.

Returns:
The VcsCommand.

getVariables

public Map getVariables()
Get variables that are used for the task execution.

Returns:
the map of variable names and values.

getExecutor

public VcsCommandExecutor getExecutor()
Get the executor of the command.


getVisualizer

public VcsCommandVisualizer getVisualizer(boolean gui)
Get the visualizer of the command.

Parameters:
gui - Whether a GUI visualizer or plain text is requested.
Returns:
The visualizer. If GUI visualizer is not defined for this task a plain text visualizer can be returned even when GUI is requested. Whether GUI visualizer is defined can be tested by method hasGUIVisualizer().

hasGUIVisualizer

public boolean hasGUIVisualizer()
Test whether this task has a GUI visualizer.


 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.