public interface IGPMessages
extends java.io.Serializable
Description: 'Provides access to Geoprocessor messages.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID0696aa9d_c26b_4a3e_89b7_3763ea11f16c |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
add(IGPMessage msg)
Adds a message object to the messages.
|
void |
addAbort(java.lang.String message)
Adds an abort message to the messages.
|
void |
addError(int errorCode,
java.lang.String message)
Adds an error message to the messages.
|
void |
addMessage(java.lang.String message)
Adds an informative message to the messages.
|
void |
addMessages(IGPMessages messages)
Adds all messages from an existing messages object to this messages object.
|
void |
addWarning(java.lang.String message)
Adds a warning message to the messages.
|
void |
clear()
Clears the message objects from messages object.
|
IGPMessagesCallback |
getCallback()
The callback object associated with the GPMessages object.
|
int |
getCount()
The message count.
|
int |
getMaxSeverity()
The maximum message severity.
|
IGPMessage |
getMessage(int index)
Provides a message object from the specified location.
|
IArray |
getMessages()
The array of message objects.
|
void |
initializeMessages(int nMessages)
Creates a number of empty messages and adds them to this messages object.
|
void |
replace(int index,
IGPMessage msg)
Replace an existing message in a specified location with a new message object.
|
void |
replaceAbort(int index,
java.lang.String message)
Creates message of type esriGPMessageTypeAbort and replaces it into a specified position.
|
void |
replaceError(int index,
int errorCode,
java.lang.String message)
Creates message of type esriGPMessageTypeError and replaces it into a specified position.
|
void |
replaceMessage(int index,
java.lang.String message)
Creates message and replaces it into a specified position.
|
void |
replaceWarning(int index,
java.lang.String message)
Creates message of type esriGPMessageTypeWarning and replaces it into a specified position.
|
void |
setCallbackByRef(IGPMessagesCallback messagesCallback)
The callback object associated with the GPMessages object.
|
static final int IID0696aa9d_c26b_4a3e_89b7_3763ea11f16c
static final int xxDummy
static final java.lang.String IID
void setCallbackByRef(IGPMessagesCallback messagesCallback) throws java.io.IOException, AutomationException
messagesCallback
- A reference to a com.esri.arcgis.geodatabase.IGPMessagesCallback (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IGPMessagesCallback getCallback() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void clear() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void add(IGPMessage msg) throws java.io.IOException, AutomationException
msg
- A reference to a com.esri.arcgis.geodatabase.IGPMessage (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addWarning(java.lang.String message) throws java.io.IOException, AutomationException
message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addAbort(java.lang.String message) throws java.io.IOException, AutomationException
message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addError(int errorCode, java.lang.String message) throws java.io.IOException, AutomationException
errorCode
- The errorCode (in)message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addMessage(java.lang.String message) throws java.io.IOException, AutomationException
message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void addMessages(IGPMessages messages) throws java.io.IOException, AutomationException
messages
- A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void initializeMessages(int nMessages) throws java.io.IOException, AutomationException
nMessages
- The nMessages (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replace(int index, IGPMessage msg) throws java.io.IOException, AutomationException
index
- The index (in)msg
- A reference to a com.esri.arcgis.geodatabase.IGPMessage (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceError(int index, int errorCode, java.lang.String message) throws java.io.IOException, AutomationException
index
- The index (in)errorCode
- The errorCode (in)message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceWarning(int index, java.lang.String message) throws java.io.IOException, AutomationException
index
- The index (in)message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceAbort(int index, java.lang.String message) throws java.io.IOException, AutomationException
index
- The index (in)message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void replaceMessage(int index, java.lang.String message) throws java.io.IOException, AutomationException
index
- The index (in)message
- The message (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IGPMessage getMessage(int index) throws java.io.IOException, AutomationException
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IArray getMessages() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getMaxSeverity() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.