public class PropertiesInfo extends Object
| Constructor and Description |
|---|
PropertiesInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
boolean secure,
String type,
String description,
boolean required)
No-value form
|
void |
add(String name,
boolean secure,
String type,
String description,
boolean required,
String value)
value form
|
void |
addAllToList(List<org.bedework.synch.wsmessages.SynchPropertyInfoType> l)
Add all the properties in this list to the parameter
|
void |
optionalPassword(String description)
Password
|
void |
optionalPrincipal(String description)
Principal
|
void |
optionalUri(String description)
URI
|
void |
optionCalProcessing(String name,
String description)
Add an optional property of type CalProcessing with no default value.
|
void |
optionCalProcessing(String name,
String description,
String value)
Add an optional property of type CalProcessing with the given default value.
|
void |
requiredPassword(String description)
Password
|
void |
requiredPrincipal(String description)
Principal
|
void |
requiredUri(String description)
URI
|
String |
toString() |
boolean |
validRequestProperties(BaseSubscriptionInfo info,
org.bedework.synch.wsmessages.ArrayOfSynchProperties propsArray)
Ensure info properties are valid for an existing subscription
|
boolean |
validSubscribeInfoProperties(BaseSubscriptionInfo info)
Ensure info properties are valid for a new subscription
|
public void requiredUri(String description)
description - null for default descriptionpublic void optionalUri(String description)
description - null for default descriptionpublic void requiredPrincipal(String description)
description - null for default descriptionpublic void optionalPrincipal(String description)
description - null for default descriptionpublic void requiredPassword(String description)
description - null for default descriptionpublic void optionalPassword(String description)
description - null for default descriptionpublic void add(String name, boolean secure, String type, String description, boolean required)
name - - name for the propertysecure - - true if this property value should be hidden, e.g passwordtype - - type of the property - see abovedescription - - of the propertyrequired - - true if this property is requiredpublic void add(String name, boolean secure, String type, String description, boolean required, String value)
name - - name for the propertysecure - - true if this property value should be hidden, e.g passwordtype - - type of the property - see abovedescription - - of the propertyrequired - - true if this property is requiredvalue - - the default or current value as a Java string representationpublic void optionCalProcessing(String name, String description)
name - - name for the propertydescription - - of the propertypublic void optionCalProcessing(String name, String description, String value)
name - - name for the propertydescription - - of the propertyvalue - - the default or current value as a Java string representationpublic boolean validSubscribeInfoProperties(BaseSubscriptionInfo info) throws SynchException
info - SynchExceptionpublic boolean validRequestProperties(BaseSubscriptionInfo info, org.bedework.synch.wsmessages.ArrayOfSynchProperties propsArray) throws SynchException
info - - current propertiespropsArray - - properties in a request to be validatedSynchExceptionpublic void addAllToList(List<org.bedework.synch.wsmessages.SynchPropertyInfoType> l)
l - Copyright © 2018 Bedework. All rights reserved.