| Package | Description |
|---|---|
| de.valtech.aecu.api.groovy.console.bindings |
Contains the classes for the Groovy binding "aecu".
|
| Modifier and Type | Method and Description |
|---|---|
ContentUpgrade |
AecuBinding.contentUpgradeBuilder()
Returns a content upgrade builder.
|
ContentUpgrade |
ContentUpgrade.doActivateContainingPage()
Activates the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doActivateResource()
Activates the resource.
|
ContentUpgrade |
ContentUpgrade.doAddTagsToContainingPage(String... tags)
Adds tags to the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doAddValuesToMultiValueProperty(String name,
String[] values)
Adds values to a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering()
Checks if the containing page renders with status code 200.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(int code)
Checks if the containing page renders with given status code.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(String textPresent)
Checks if the containing page renders with status code 200 and contains given text.
|
ContentUpgrade |
ContentUpgrade.doCheckPageRendering(String textPresent,
String textNotPresent)
Checks if the containing page renders with status code 200 and (not) contains given text.
|
ContentUpgrade |
ContentUpgrade.doCopyPropertyToRelativePath(String name,
String newName,
String relativeResourcePath)
Copies a property to a relative path.
|
ContentUpgrade |
ContentUpgrade.doCopyResourceToRelativePath(String relativePath)
Copies a resource to a relative path.
|
ContentUpgrade |
ContentUpgrade.doCustomResourceBasedAction(CustomResourceAction action)
Performs a custom action with providing a function.
|
ContentUpgrade |
ContentUpgrade.doDeactivateContainingPage()
Deactivates the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doDeactivateResource()
Deactivates the resource.
|
ContentUpgrade |
ContentUpgrade.doDeleteContainingPage()
Deletes the page where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doDeleteProperty(String name)
Deletes a property if existing.
|
ContentUpgrade |
ContentUpgrade.doDeleteResource()
Deletes the resource.
|
ContentUpgrade |
ContentUpgrade.doMovePropertyToRelativePath(String name,
String newName,
String relativeResourcePath)
Moves a property to a relative path.
|
ContentUpgrade |
ContentUpgrade.doMoveResourceToPathRegex(String matchPattern,
String targetPathExpr)
Moves a resource if its path matches the pattern to the path obtained by applying the
replacement expression
|
ContentUpgrade |
ContentUpgrade.doMoveResourceToRelativePath(String relativePath)
Moves a resource to a relative path.
|
ContentUpgrade |
ContentUpgrade.doRemoveTagsFromContainingPage(String... tags)
Removes tags from the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doRemoveValuesOfMultiValueProperty(String name,
String[] values)
Removes values of a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doRename(String newName)
Renames a resource to the given name.
|
ContentUpgrade |
ContentUpgrade.doRenameProperty(String oldName,
String newName)
Renames a property if existing.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInAllProperties(String oldValue,
String newValue)
Replaces a substring in all properties of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInAllPropertiesRegex(String searchRegex,
String replacement)
Replaces a substring in all properties of the matching resource using a regular expression.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInProperties(String oldValue,
String newValue,
String[] propertyNames)
Replaces a substring in specific properties of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doReplaceValueInPropertiesRegex(String searchRegex,
String replacement,
String[] propertyNames)
Replaces a substring in specific properties of the matching resource using a regular
expression.
|
ContentUpgrade |
ContentUpgrade.doReplaceValuesOfMultiValueProperty(String name,
String[] oldValues,
String[] newValues)
Replaces values in a multivalue property.
|
ContentUpgrade |
ContentUpgrade.doSetProperty(String name,
Object value)
Sets a property value.
|
ContentUpgrade |
ContentUpgrade.doSetTagsForContainingPage(String... tags)
Sets tags for the containing page of the matching resource.
|
ContentUpgrade |
ContentUpgrade.doTreeActivateContainingPage()
Activates the page tree where the resource is located.
|
ContentUpgrade |
ContentUpgrade.doTreeActivateContainingPage(boolean skipDeactivated)
Activates the page tree where the resource is located.
|
ContentUpgrade |
ContentUpgrade.filterByAnyPropertyRegex(String regex)
Filters by checking if any property matches the given regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterByHasProperty(String name)
Filters by existence of a single property.
|
ContentUpgrade |
ContentUpgrade.filterByMultiValuePropContains(String name,
Object[] conditionValues)
Filters by multi-value with the given name containing the given conditionValues
|
ContentUpgrade |
ContentUpgrade.filterByNodeName(String nodeName)
Filters by node name exact match.
|
ContentUpgrade |
ContentUpgrade.filterByNodeNameRegex(String regex)
Filters by node name using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByPathRegex(String regex)
Filters by node path using regular expression.
|
ContentUpgrade |
ContentUpgrade.filterByProperties(Map<String,Object> conditionProperties)
Filters by properties.
|
ContentUpgrade |
ContentUpgrade.filterByProperty(String name,
Object value)
Filters by a single property.
|
ContentUpgrade |
ContentUpgrade.filterByPropertyRegex(String name,
String regex)
Filters by a single property using a regular expression for the value.
|
ContentUpgrade |
ContentUpgrade.filterWith(FilterBy filter)
Filters by using the given filter.
|
ContentUpgrade |
ContentUpgrade.forChildResourcesOf(String path)
Loops for all child resources of the given path.
|
ContentUpgrade |
ContentUpgrade.forDescendantResourcesOf(String path)
Loops recursive for all child resources of the given path.
|
ContentUpgrade |
ContentUpgrade.forResources(String[] paths)
Loops for given list of resources.
|
ContentUpgrade |
ContentUpgrade.forResourcesBySql2Query(String query)
Loops over resources found by SQL2 query.
|
ContentUpgrade |
ContentUpgrade.forResourcesInSubtree(String path)
Loops recursive over all resources contained in the subtree at the given path.
|
ContentUpgrade |
ContentUpgrade.printJson()
Prints the properties json
|
ContentUpgrade |
ContentUpgrade.printPath()
Print path
|
ContentUpgrade |
ContentUpgrade.printProperty(String property)
Print property
|
Copyright © 2019. All rights reserved.