xtendm3-sdk.0.18.3.source-code.MethodAPI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtendm3-sdk Show documentation
Show all versions of xtendm3-sdk Show documentation
XtendM3 SDK for developing XtendM3 Extensions locally
The newest version!
/**
* API for Method arguments and return value
*
* @since API Version 0.5.0
*/
public interface MethodAPI {
/**
* Receive the value of an argument
*
* @param argument Argument index
* @return Selected argument
* @since API Version 0.5.0
*/
Object getArgument(int argument);
/**
* Sets the value to return from a overridden method
*
* @param newValue Value to return
* @since API Version 0.5.0
*/
void setReturnValue(Object newValue);
/**
* Get the value returned from the overridden method. Note if setReturnValue is called before this,
* the value set by setReturnValue is returned
*
* @return value returned from the original method
* @since API Version 0.5.0
*/
Object getReturnValue();
/**
* Get the original value returned from the overrided method
* @return value returned from the original method
* @since API Version 0.17.0
*/
Object getOriginalReturnValue();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy