org.jboss.forge.ui.util
Class Metadata
java.lang.Object
org.jboss.forge.ui.util.Metadata
- All Implemented Interfaces:
- UICommandMetadata
public class Metadata
- extends Object
- implements UICommandMetadata
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Metadata
public Metadata(Class<? extends UICommand> type)
forCommand
public static Metadata forCommand(Class<? extends UICommand> type)
name
public Metadata name(String name)
description
public Metadata description(String description)
category
public Metadata category(UICategory category)
docLocation
public Metadata docLocation(URL docLocation)
getName
public String getName()
- Specified by:
getName in interface UICommandMetadata
getDescription
public String getDescription()
- Specified by:
getDescription in interface UICommandMetadata
getCategory
public UICategory getCategory()
- Specified by:
getCategory in interface UICommandMetadata
getDocLocation
public URL getDocLocation()
- Description copied from interface:
UICommandMetadata
- Returns the location of the documentation of this command
- Specified by:
getDocLocation in interface UICommandMetadata
- Returns:
- null if no documentation was found
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.