com.versionone.utils.IDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
Show all versions of VersionOne.SDK.Java.APIClient Show documentation
A library for custom Java development against the VersionOne Development Platform's REST API.
package com.versionone.utils;
/**
* Interface implemnted by the object returned by Delegator.bind
* Use this only when no suitable alternative interface is available
* @author Steve Lewis
* Date: May 9, 2002
**/
public interface IDelegate {
/**
* Thin wrapper in invoke
* @param args possibly null array or args - null says none
* @return possibly null return - primitive types are wrapped
*/
public Object invoke(Object[] args);
/**
* convenience call for 1 arg case
* @param arg possibly null argument
* @return possibly null return - primitive types are wrapped
*/
public Object invoke(Object arg);
/**
* convenience call for 2 arg case
* @param arg1 possibly null argument
* @param arg2 possibly null argument
* @return possibly null return - primitive types are wrapped
*/
public Object invoke(Object arg1, Object arg2);
/**
* convenience call for no arg case
* @return possibly null return - primitive types are wrapped
*/
public Object invoke();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy