com.cloudera.api.model
Class ApiCommandMetadata

java.lang.Object
  extended by com.cloudera.api.model.ApiCommandMetadata

public class ApiCommandMetadata
extends Object

Provides metadata information about a command.


Constructor Summary
ApiCommandMetadata()
           
ApiCommandMetadata(String name)
           
ApiCommandMetadata(String name, String argSchema)
           
 
Method Summary
 boolean equals(Object o)
           
 String getArgSchema()
          The command arguments schema.
 String getName()
          The name of of the command.
 int hashCode()
           
 void setArgSchema(String argSchema)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiCommandMetadata

public ApiCommandMetadata(String name,
                          String argSchema)

ApiCommandMetadata

public ApiCommandMetadata(String name)

ApiCommandMetadata

public ApiCommandMetadata()
Method Detail

getName

public String getName()
The name of of the command.


setName

public void setName(String name)

getArgSchema

public String getArgSchema()
The command arguments schema. This is in the form of json schema and describes the structure of the command arguments. If null, the command does not take arguments.


setArgSchema

public void setArgSchema(String argSchema)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.