link start!
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package javax.baja.agent;
|
||||
|
||||
import javax.baja.registry.TypeInfo;
|
||||
import javax.baja.security.BPermissions;
|
||||
import javax.baja.sys.BIcon;
|
||||
import javax.baja.sys.BObject;
|
||||
import javax.baja.sys.Context;
|
||||
|
||||
public interface AgentInfo {
|
||||
String getAgentId();
|
||||
|
||||
TypeInfo[] getAgentOn();
|
||||
|
||||
TypeInfo getAgentType();
|
||||
|
||||
String getAppName();
|
||||
|
||||
String getDisplayName(Context context);
|
||||
|
||||
BIcon getIcon(Context context);
|
||||
|
||||
BObject getInstance();
|
||||
|
||||
BPermissions getRequiredPermissions();
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package javax.baja.agent;
|
||||
|
||||
public interface AgentList {
|
||||
void add(int i, String str);
|
||||
|
||||
void add(int i, AgentInfo agentInfo);
|
||||
|
||||
void add(String str);
|
||||
|
||||
void add(AgentInfo agentInfo);
|
||||
|
||||
Object clone();
|
||||
|
||||
AgentList filter(AgentFilter agentFilter);
|
||||
|
||||
AgentInfo get(int i);
|
||||
|
||||
AgentInfo get(String str);
|
||||
|
||||
AgentInfo getDefault();
|
||||
|
||||
int indexOf(String str);
|
||||
|
||||
int indexOf(AgentInfo agentInfo);
|
||||
|
||||
AgentInfo[] list();
|
||||
|
||||
void remove(int i);
|
||||
|
||||
void remove(String str);
|
||||
|
||||
void remove(AgentInfo agentInfo);
|
||||
|
||||
void remove(AgentList agentList);
|
||||
|
||||
int size();
|
||||
|
||||
void swap(int i, int i2);
|
||||
|
||||
void toBottom(int i);
|
||||
|
||||
void toBottom(String str);
|
||||
|
||||
void toBottom(AgentInfo agentInfo);
|
||||
|
||||
void toTop(int i);
|
||||
|
||||
void toTop(String str);
|
||||
|
||||
void toTop(AgentInfo agentInfo);
|
||||
}
|
||||
Reference in New Issue
Block a user