Class IsPluginInstalledTask
- java.lang.Object
-
- org.jivesoftware.openfire.container.IsPluginInstalledTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Boolean>
public class IsPluginInstalledTask extends Object implements ClusterTask<Boolean>
Task that will be run in each cluster node to learn if the specified plugin is installed or not.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsPluginInstalledTask()
Do not use this constructor.IsPluginInstalledTask(String pluginName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
IsPluginInstalledTask
public IsPluginInstalledTask()
Do not use this constructor. It exists for deserialization purposes.
-
IsPluginInstalledTask
public IsPluginInstalledTask(String pluginName)
-
-
Method Detail
-
getResult
public Boolean getResult()
- Specified by:
getResult
in interfaceClusterTask<Boolean>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-