com.cloudera.api.model
Class ApiCommandMetadata
java.lang.Object
com.cloudera.api.model.ApiCommandMetadata
public class ApiCommandMetadata
- extends Object
Provides metadata information about a command.
ApiCommandMetadata
public ApiCommandMetadata(String name,
String argSchema)
ApiCommandMetadata
public ApiCommandMetadata(String name)
ApiCommandMetadata
public ApiCommandMetadata()
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.