File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/main/groovy/com/marklogic/gradle/task/client Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 11package com.marklogic.gradle.task.client
22
33import com.marklogic.gradle.task.MarkLogicTask
4+ import org.gradle.api.tasks.Input
5+ import org.gradle.api.tasks.Optional
46import org.gradle.api.tasks.TaskAction
57
68/**
79 * Intended to simplify calling a custom resource - e.g. something under /v1/resources/(resourceName).
810 */
911class CallResourceTask extends MarkLogicTask {
1012
13+ @Input @Optional
1114 def params = [:]
15+
16+ @Input
1217 def method = " GET"
18+
19+ @Input @Optional
1320 def client = null
21+
22+ @Input
1423 def mimeType = " application/json"
24+
25+ @Input
1526 String resourceName
27+
28+ @Input @Optional
1629 String body
30+
31+ @Input @Optional
1732 String outputFilePath
1833
1934 @TaskAction
You can’t perform that action at this time.
0 commit comments