|
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.control.webharvest.protocol.ProtocolInvoker
public class ProtocolInvoker
Invokes various methods on protocol through Reflection.
| Constructor Summary | |
|---|---|
ProtocolInvoker()
|
|
| Method Summary | |
|---|---|
static boolean |
getAutoApprove(Protocol protocol)
Checks if 'auto-approve' is enabled. |
static List<String> |
getDestinations(Protocol protocol)
Gets protocol destinations. |
static boolean |
getLockTitle(Protocol protocol)
Checks if 'lock-title' is enabled. |
static boolean |
getRetryAsDraft(Protocol protocol)
Checks if another attempt to publish as "draft" should be made if first attempt failed validation. |
static BotsMode |
getRobotsTxtMode(Protocol protocol)
Gets robots.txt mode. |
static boolean |
getUpdateContent(Protocol protocol)
Checks if 'deep harvest' is enabled. |
static boolean |
getUpdateDefinition(Protocol protocol)
Checks if 'xml generation' is enabled. |
static void |
ping(Protocol protocol,
String url)
Deprecated. |
static void |
setAutoApprove(Protocol protocol,
boolean autoApprove)
Enables/disables 'auto-approve' |
static void |
setDestinations(Protocol protocol,
List<String> destinations)
Sets protocol destinations. |
static void |
setLockTitle(Protocol protocol,
boolean lockTitle)
Enables/disables 'lock-title'. |
static void |
setRetryAsDraft(Protocol protocol,
boolean retryAsDraft)
Allows to make another attempt to publish as a draft if first attempt failed validation. |
static void |
setRobotsTxtMode(Protocol protocol,
BotsMode mode)
Sets robots.txt mode. |
static void |
setUpdateContent(Protocol protocol,
boolean enabled)
Enables/disables 'deep harvest' |
static void |
setUpdateDefinition(Protocol protocol,
boolean enabled)
Enables/disables 'xml generation' |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtocolInvoker()
| Method Detail |
|---|
@Deprecated
public static void ping(Protocol protocol,
String url)
throws Exception
protocol - protocolurl - resource URL
IllegalArgumentException - if invalid protocol definition
IOException - if error connection resource
Exceptionpublic static boolean getUpdateContent(Protocol protocol)
protocol - protocol
true if 'deep harvest' is enabled
public static void setUpdateContent(Protocol protocol,
boolean enabled)
protocol - protocolenabled - true to enable 'deep harvest'public static boolean getUpdateDefinition(Protocol protocol)
protocol - protocol
true if 'xml generation' is enabled
public static void setUpdateDefinition(Protocol protocol,
boolean enabled)
protocol - protocolenabled - true to enable 'xml generation'public static boolean getAutoApprove(Protocol protocol)
protocol - protocol
true if 'auto-approve' is enabled
public static void setAutoApprove(Protocol protocol,
boolean autoApprove)
protocol - protocolautoApprove - true to enable 'auto-approve'public static boolean getLockTitle(Protocol protocol)
protocol - protocol
true if 'lock-title' is enabled
public static void setLockTitle(Protocol protocol,
boolean lockTitle)
protocol - protocollockTitle - true to enable 'lock-title'public static boolean getRetryAsDraft(Protocol protocol)
protocol - protocol
true if another attempt should be made
public static void setRetryAsDraft(Protocol protocol,
boolean retryAsDraft)
protocol - protocolretryAsDraft - true if another attempt should be madepublic static List<String> getDestinations(Protocol protocol)
protocol - protocol
null
public static void setDestinations(Protocol protocol,
List<String> destinations)
protocol - protocoldestinations - list of protocol destinations or null
public static void setRobotsTxtMode(Protocol protocol,
BotsMode mode)
protocol - protocolmode - modepublic static BotsMode getRobotsTxtMode(Protocol protocol)
protocol - protocol
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||