public abstract class AbstractSocketWorkSourceExtension<W extends Work,S extends WorkSource<W>> extends Object implements WorkSourceExtension<W,S>, ExtensionClasspathProvider
EXTENSION_ID
EXTENSION_ID
Constructor and Description |
---|
AbstractSocketWorkSourceExtension(Class<S> workSourceClass,
String workSourceLabel)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
ClasspathProvision[] |
getClasspathProvisions()
Obtains the
ClasspathProvision instances for the extension. |
String |
getSuggestedWorkName(PropertyList properties)
Obtains the suggested name of the
Work . |
Class<S> |
getWorkSourceClass()
Obtains the class of the
WorkSource being enriched in its usage. |
String |
getWorkSourceLabel()
Obtains the label for the
WorkSource . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createControl, getTaskDocumentation
public AbstractSocketWorkSourceExtension(Class<S> workSourceClass, String workSourceLabel)
workSourceClass
- WorkSource
class.workSourceLabel
- Label for the WorkSource
.public ClasspathProvision[] getClasspathProvisions()
ExtensionClasspathProvider
ClasspathProvision
instances for the extension.getClasspathProvisions
in interface ExtensionClasspathProvider
ClasspathProvision
instances for the extension.public Class<S> getWorkSourceClass()
WorkSourceExtension
WorkSource
being enriched in its usage.getWorkSourceClass
in interface WorkSourceExtension<W extends Work,S extends WorkSource<W>>
WorkSource
being enriched in its usage.public String getWorkSourceLabel()
WorkSourceExtension
Obtains the label for the WorkSource
.
This is a descriptive name that can be used other than the fully
qualified name of the WorkSource
.
getWorkSourceLabel
in interface WorkSourceExtension<W extends Work,S extends WorkSource<W>>
WorkSource
.public String getSuggestedWorkName(PropertyList properties)
WorkSourceExtension
Work
.getSuggestedWorkName
in interface WorkSourceExtension<W extends Work,S extends WorkSource<W>>
properties
- PropertyList
.Work
name or null
if no
suggestion.Copyright © 2005–2016. All rights reserved.