RbUtils 0.13

org.ktc.rbutils.rb
Class CommonProps

java.lang.Object
  extended by org.ktc.rbutils.rb.CommonProps

public class CommonProps
extends Object

Provides common properties for RbChecker and RbGenerator.

Since:
RbUtils 0.9.3.3
Version:
$Revision: 1.4 $
Author:
redfish

Field Summary
static String RBCHECKER_TASKNAME
          Name of the rbchecker task to be displayed.
static String RBGENERATOR_TASKNAME
          Name of the rbgenerator task to be displayed.
static String UNKNONWN_TASKNAME
          Name of an unknown rbutils task to be displayed.
 
Constructor Summary
protected CommonProps()
          Dummy constructor.
 
Method Summary
static String getFullTaskName(TaskType taskType)
          Returns the full task name of the object.
static String getRunningTask(TaskType taskType)
          Returns a displayable message that indicates the task is running.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RBCHECKER_TASKNAME

public static final String RBCHECKER_TASKNAME
Name of the rbchecker task to be displayed.

See Also:
Constant Field Values

RBGENERATOR_TASKNAME

public static final String RBGENERATOR_TASKNAME
Name of the rbgenerator task to be displayed.

See Also:
Constant Field Values

UNKNONWN_TASKNAME

public static final String UNKNONWN_TASKNAME
Name of an unknown rbutils task to be displayed.

See Also:
Constant Field Values
Constructor Detail

CommonProps

protected CommonProps()
Dummy constructor. This MUST NOT be instanciated.

Throws:
UnsupportedOperationException - if this class is instanciated.
Method Detail

getRunningTask

public static String getRunningTask(TaskType taskType)
Returns a displayable message that indicates the task is running.

Parameters:
taskType - the type of the current task.
Returns:
the full task name of the object.

getFullTaskName

public static String getFullTaskName(TaskType taskType)
Returns the full task name of the object. It means the taskname of the object and the full version of RbUtils.

Parameters:
taskType - the type of the current task.
Returns:
the full task name of the object.
Since:
RbUtils 0.9.3.3

Back to the RbUtils Home Page

Copyright © 2005-2009 RbUtils Project. All Rights Reserved.