public class ActivityImplementor extends java.lang.Object implements java.lang.Comparable<ActivityImplementor>, Jsonable
Constructor and Description |
---|
ActivityImplementor(org.json.JSONObject json)
Parse .impl file.
|
ActivityImplementor(java.lang.String implClass)
generic implementor for unfound
|
ActivityImplementor(java.lang.String implClass,
Activity annotation) |
ActivityImplementor(java.lang.String implClass,
java.lang.String category,
java.lang.String label,
java.lang.String iconAsset,
java.lang.String pagelet) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ActivityImplementor other) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategory() |
java.lang.String |
getIcon() |
java.lang.Long |
getId() |
javax.swing.ImageIcon |
getImageIcon() |
java.lang.String |
getImplementorClass() |
org.json.JSONObject |
getJson()
Serialize old-style (non-annotation) .impl assets.
|
java.lang.String |
getJsonName()
May be overridden to name the JSON object returned from
Jsonable.getJson() . |
java.lang.String |
getLabel() |
java.lang.String |
getPackageName() |
java.lang.String |
getPagelet() |
java.lang.String |
getSimpleName() |
java.util.function.Supplier<GeneralActivity> |
getSupplier() |
int |
hashCode() |
boolean |
isHidden() |
boolean |
isJava() |
boolean |
isLongRunning() |
boolean |
isScript() |
boolean |
isStart() |
boolean |
isSubprocess() |
boolean |
isTask() |
boolean |
isWait() |
void |
setCategory(java.lang.String category) |
void |
setHidden(boolean hidden) |
void |
setIcon(java.lang.String icon) |
void |
setId(java.lang.Long id) |
void |
setImageIcon(javax.swing.ImageIcon imageIcon) |
void |
setImplementorClass(java.lang.String implClass) |
void |
setLabel(java.lang.String label) |
void |
setPackageName(java.lang.String packageName) |
void |
setPagelet(java.lang.String pagelet) |
void |
setSupplier(java.util.function.Supplier<GeneralActivity> supplier) |
public ActivityImplementor(java.lang.String implClass, Activity annotation)
public ActivityImplementor(java.lang.String implClass, java.lang.String category, java.lang.String label, java.lang.String iconAsset, java.lang.String pagelet)
public ActivityImplementor(java.lang.String implClass)
public ActivityImplementor(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getImplementorClass()
public void setImplementorClass(java.lang.String implClass)
public java.lang.String getPackageName()
public void setPackageName(java.lang.String packageName)
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getIcon()
public void setIcon(java.lang.String icon)
public javax.swing.ImageIcon getImageIcon()
public void setImageIcon(javax.swing.ImageIcon imageIcon)
public java.lang.String getPagelet()
public void setPagelet(java.lang.String pagelet)
public boolean isHidden()
public void setHidden(boolean hidden)
public java.util.function.Supplier<GeneralActivity> getSupplier()
public void setSupplier(java.util.function.Supplier<GeneralActivity> supplier)
public java.lang.String getSimpleName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ActivityImplementor other)
compareTo
in interface java.lang.Comparable<ActivityImplementor>
public boolean isStart()
public boolean isJava()
public boolean isScript()
public boolean isWait()
public boolean isSubprocess()
public boolean isTask()
public boolean isLongRunning()
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
public java.lang.String getJsonName()
Jsonable
Jsonable.getJson()
.Copyright © 2019 CenturyLink, Inc.