|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.harvest.protocols.HarvestProtocol
public abstract class HarvestProtocol
Generic harvesting protocol.
HrRecord,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
HarvestProtocol.ProtocolType
Deprecated. |
| Constructor Summary | |
|---|---|
HarvestProtocol()
|
|
| Method Summary | |
|---|---|
void |
applyAttributeMap(StringAttributeMap attributeMap)
Applies protocol attributes map. |
protected String |
chckAttr(StringAttribute attribute)
Checks attribute. |
void |
checkConnection(String url)
Deprecated. |
protected String |
decryptString(String s)
Decrypts string. |
protected String |
encryptString(String s)
Encrypts string. |
StringAttributeMap |
extractAttributeMap()
Extracts protocol attributes map. |
String |
getAdHoc()
Gets ad-hoc harvesting info. |
StringAttributeMap |
getAttributeMap()
Gets protocol attributes map. |
HRClient |
getClient(String hostUrl)
Deprecated. |
List<String> |
getDestinations()
Gets destinations. |
long |
getFlags()
Gets flag set. |
String |
getKind()
Gets protocol kind. |
boolean |
getPingSupported()
Checks if ping operation is supported. |
abstract HarvestProtocol.ProtocolType |
getType()
Deprecated. |
Executor |
newExecutor(DataProcessor dataProcessor,
ExecutionUnit unit,
IWorker worker)
Creates new executor. |
void |
ping(String url)
Deprecated. |
void |
setAdHoc(String adHoc)
Sets ad-hoc info. |
void |
setAttributeMap(StringAttributeMap attributeMap)
Sets protocol attributes map. |
void |
setDestinations(List<String> destinations)
Sets destinations. |
void |
setFlags(long flags)
Sets flag set. |
String |
toString()
Gets string representation of the protocol. |
String |
toXmlString()
Creates xml string representation of the protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.gpt.control.webharvest.protocol.Protocol |
|---|
newQueryBuilder |
| Constructor Detail |
|---|
public HarvestProtocol()
| Method Detail |
|---|
public void setDestinations(List<String> destinations)
destinations - destinationspublic List<String> getDestinations()
public boolean getPingSupported()
true if ping operation is supportedHRClient.ping()@Deprecated public abstract HarvestProtocol.ProtocolType getType()
public String getKind()
Protocol
getKind in interface Protocol
@Deprecated
public HRClient getClient(String hostUrl)
throws HRInvalidProtocolException
hostUrl - host URL
HRInvalidProtocolException - if unable to create client for
the protocol
@Deprecated
public final void checkConnection(String url)
throws HRInvalidProtocolException,
HRConnectionException
url - server URL
HRInvalidProtocolException - when protocol attributes are invalid
HRConnectionException - if connecting remote repository failed
@Deprecated
public void ping(String url)
throws Exception
url - resource URL
IllegalArgumentException - if invalid protocol definition
IOException - if error connection resource
Exceptionpublic String toXmlString()
public String toString()
toString in class Objectprotected String chckAttr(StringAttribute attribute)
attribute - attributes
public long getFlags()
Protocol
getFlags in interface Protocolpublic void setFlags(long flags)
Protocol
setFlags in interface Protocolflags - flag setpublic StringAttributeMap getAttributeMap()
Protocol
getAttributeMap in interface Protocolpublic void setAttributeMap(StringAttributeMap attributeMap)
Protocol
setAttributeMap in interface ProtocolattributeMap - attributes mappublic StringAttributeMap extractAttributeMap()
Protocol
extractAttributeMap in interface Protocolpublic void applyAttributeMap(StringAttributeMap attributeMap)
Protocol
applyAttributeMap in interface ProtocolattributeMap - attributes mappublic String getAdHoc()
ProtocolAd-hoc information allows to store precise definition or pattern of the time when harvesting should occur. Ad-hoc is a pipe (|) separated set of time definitions. Currently, the following syntax is supported:
getAdHoc in interface Protocolpublic void setAdHoc(String adHoc)
Protocol
setAdHoc in interface ProtocoladHoc - ad-hoc infoProtocol.setAdHoc(java.lang.String)
public Executor newExecutor(DataProcessor dataProcessor,
ExecutionUnit unit,
IWorker worker)
Protocol
newExecutor in interface ProtocoldataProcessor - data processorunit - execution unitworker - worker
protected String decryptString(String s)
s - string to decrypt
protected String encryptString(String s)
s - string to encrypt
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||