|
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
com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol
com.esri.gpt.catalog.harvest.protocols.HarvestProtocolAgs2Agp
public class HarvestProtocolAgs2Agp
Ags2Agp protocol.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol |
---|
HarvestProtocol.ProtocolType |
Field Summary | |
---|---|
static String |
NAME
name of the protocol |
Constructor Summary | |
---|---|
HarvestProtocolAgs2Agp()
|
Method Summary | |
---|---|
StringAttributeMap |
getAttributeMap()
Gets protocol attributes map. |
AgpDestination |
getDestination()
Gets destination. |
String |
getDestinationHost()
Gets destination host. |
long |
getFlags()
Gets flag set. |
String |
getHostUrl()
Gets host URL. |
String |
getKind()
Gets protocol kind. |
protected String |
getReferrer()
Gets referrer. |
ArcGISInfo |
getSource()
|
String |
getSourceHost()
Gets source host. |
HarvestProtocol.ProtocolType |
getType()
Gets protocol type. |
Executor |
newExecutor(DataProcessor dataProcessor,
ExecutionUnit unit,
IWorker worker)
Creates new executor. |
QueryBuilder |
newQueryBuilder(IterationContext context,
String url)
Creates new query builder. |
void |
ping(String url)
Pings resource. |
void |
setAttributeMap(StringAttributeMap attributeMap)
Sets protocol attributes map. |
void |
setFlags(long flags)
Sets flag set. |
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.AbstractHTTPHarvestProtocol |
---|
getUserName, getUserPassword, setUserName, setUserPassword |
Methods inherited from class com.esri.gpt.catalog.harvest.protocols.HarvestProtocol |
---|
applyAttributeMap, chckAttr, checkConnection, decryptString, encryptString, extractAttributeMap, getAdHoc, getClient, getDestinations, getPingSupported, setAdHoc, setDestinations, toString, toXmlString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME
Constructor Detail |
---|
public HarvestProtocolAgs2Agp()
Method Detail |
---|
public ArcGISInfo getSource()
public AgpDestination getDestination()
public String getHostUrl()
public String getSourceHost()
public String getDestinationHost()
public StringAttributeMap getAttributeMap()
Protocol
getAttributeMap
in interface Protocol
getAttributeMap
in class HarvestProtocol
public void setAttributeMap(StringAttributeMap attributeMap)
Protocol
setAttributeMap
in interface Protocol
setAttributeMap
in class HarvestProtocol
attributeMap
- attributes mappublic long getFlags()
Protocol
getFlags
in interface Protocol
getFlags
in class HarvestProtocol
public void setFlags(long flags)
Protocol
setFlags
in interface Protocol
setFlags
in class HarvestProtocol
flags
- flag setpublic String getKind()
Protocol
getKind
in interface Protocol
getKind
in class HarvestProtocol
public HarvestProtocol.ProtocolType getType()
HarvestProtocol
getType
in class HarvestProtocol
public QueryBuilder newQueryBuilder(IterationContext context, String url)
Protocol
context
- iteration contexturl
- url
public void ping(String url) throws Exception
HarvestProtocol
ping
in class AbstractHTTPHarvestProtocol
url
- resource URL
IllegalArgumentException
- if invalid protocol definition
IOException
- if error connection resource
Exception
protected String getReferrer()
public Executor newExecutor(DataProcessor dataProcessor, ExecutionUnit unit, IWorker worker)
Protocol
newExecutor
in interface Protocol
newExecutor
in class HarvestProtocol
dataProcessor
- data processorunit
- execution unitworker
- worker
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |