public class IfsGetAttributeNamesCommand extends IfsCommand
Inputs:
Constructor and Description |
---|
IfsGetAttributeNamesCommand()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
createCommandContext()
Returns a CommandContext to be used throughout the invocation.
|
protected void |
execute(CommandContext context)
Execute a Commandcontext.
|
protected void |
execute(GetAttributeNamesContext context)
Executes a GetAttributeNamesContext.
|
protected String[] |
getAttributeNameList(LibraryObject lo)
Returns a list of available attribute names associated with a LO.
|
populateNestedCommands, postExecute, preExecute, run
public IfsGetAttributeNamesCommand()
protected void execute(CommandContext context) throws IfsException
execute
in class IfsCommand
context
- the command context.IfsException
- if execution failsprotected void execute(GetAttributeNamesContext context) throws IfsException
IfsException
protected String[] getAttributeNameList(LibraryObject lo) throws IfsException
lo
- LibraryObject to retrieve attribute names from,
will npe if null
return An array of attribute names as StringIfsException
public CommandContext createCommandContext() throws IfsException
createCommandContext
in interface Command
createCommandContext
in class IfsCommand
CommandContext
.IfsException
CommandContext
Copyright © 2023. All rights reserved.