174 строки
13 KiB
YAML
174 строки
13 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger"
|
|
name: "SourceTrigger"
|
|
nameWithType: "SourceTrigger"
|
|
summary: "The properties of a source based trigger."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **SourceTrigger**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.SourceTrigger()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.SourceTrigger()"
|
|
name: "SourceTrigger()"
|
|
nameWithType: "SourceTrigger.SourceTrigger()"
|
|
summary: "Creates an instance of Source<wbr>Trigger class."
|
|
syntax: "public SourceTrigger()"
|
|
desc: "Creates an instance of SourceTrigger class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "SourceTrigger.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Source<wbr>Trigger from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static SourceTrigger fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of SourceTrigger from the JsonReader."
|
|
returns:
|
|
description: "An instance of SourceTrigger if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.name()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.name()"
|
|
name: "name()"
|
|
nameWithType: "SourceTrigger.name()"
|
|
summary: "Get the name property: The name of the trigger."
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The name of the trigger."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.sourceRepository()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.sourceRepository()"
|
|
name: "sourceRepository()"
|
|
nameWithType: "SourceTrigger.sourceRepository()"
|
|
summary: "Get the source<wbr>Repository property: The properties that describes the source(code) for the task."
|
|
syntax: "public SourceProperties sourceRepository()"
|
|
desc: "Get the sourceRepository property: The properties that describes the source(code) for the task."
|
|
returns:
|
|
description: "the sourceRepository value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceProperties?alt=com.azure.resourcemanager.containerregistry.models.SourceProperties&text=SourceProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.sourceTriggerEvents()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.sourceTriggerEvents()"
|
|
name: "sourceTriggerEvents()"
|
|
nameWithType: "SourceTrigger.sourceTriggerEvents()"
|
|
summary: "Get the source<wbr>Trigger<wbr>Events property: The source event corresponding to the trigger."
|
|
syntax: "public List<SourceTriggerEvent> sourceTriggerEvents()"
|
|
desc: "Get the sourceTriggerEvents property: The source event corresponding to the trigger."
|
|
returns:
|
|
description: "the sourceTriggerEvents value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTriggerEvent?alt=com.azure.resourcemanager.containerregistry.models.SourceTriggerEvent&text=SourceTriggerEvent\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.status()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.status()"
|
|
name: "status()"
|
|
nameWithType: "SourceTrigger.status()"
|
|
summary: "Get the status property: The current status of trigger."
|
|
syntax: "public TriggerStatus status()"
|
|
desc: "Get the status property: The current status of trigger."
|
|
returns:
|
|
description: "the status value."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TriggerStatus?alt=com.azure.resourcemanager.containerregistry.models.TriggerStatus&text=TriggerStatus\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "SourceTrigger.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.validate()"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.validate()"
|
|
name: "validate()"
|
|
nameWithType: "SourceTrigger.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "SourceTrigger.withName(String name)"
|
|
summary: "Set the name property: The name of the trigger."
|
|
parameters:
|
|
- description: "the name value to set."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public SourceTrigger withName(String name)"
|
|
desc: "Set the name property: The name of the trigger."
|
|
returns:
|
|
description: "the SourceTrigger object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withSourceRepository(com.azure.resourcemanager.containerregistry.models.SourceProperties)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withSourceRepository(SourceProperties sourceRepository)"
|
|
name: "withSourceRepository(SourceProperties sourceRepository)"
|
|
nameWithType: "SourceTrigger.withSourceRepository(SourceProperties sourceRepository)"
|
|
summary: "Set the source<wbr>Repository property: The properties that describes the source(code) for the task."
|
|
parameters:
|
|
- description: "the sourceRepository value to set."
|
|
name: "sourceRepository"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceProperties?alt=com.azure.resourcemanager.containerregistry.models.SourceProperties&text=SourceProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public SourceTrigger withSourceRepository(SourceProperties sourceRepository)"
|
|
desc: "Set the sourceRepository property: The properties that describes the source(code) for the task."
|
|
returns:
|
|
description: "the SourceTrigger object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withSourceTriggerEvents(java.util.List<com.azure.resourcemanager.containerregistry.models.SourceTriggerEvent>)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)"
|
|
name: "withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)"
|
|
nameWithType: "SourceTrigger.withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)"
|
|
summary: "Set the source<wbr>Trigger<wbr>Events property: The source event corresponding to the trigger."
|
|
parameters:
|
|
- description: "the sourceTriggerEvents value to set."
|
|
name: "sourceTriggerEvents"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTriggerEvent?alt=com.azure.resourcemanager.containerregistry.models.SourceTriggerEvent&text=SourceTriggerEvent\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public SourceTrigger withSourceTriggerEvents(List<SourceTriggerEvent> sourceTriggerEvents)"
|
|
desc: "Set the sourceTriggerEvents property: The source event corresponding to the trigger."
|
|
returns:
|
|
description: "the SourceTrigger object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withStatus(com.azure.resourcemanager.containerregistry.models.TriggerStatus)"
|
|
fullName: "com.azure.resourcemanager.containerregistry.models.SourceTrigger.withStatus(TriggerStatus status)"
|
|
name: "withStatus(TriggerStatus status)"
|
|
nameWithType: "SourceTrigger.withStatus(TriggerStatus status)"
|
|
summary: "Set the status property: The current status of trigger."
|
|
parameters:
|
|
- description: "the status value to set."
|
|
name: "status"
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.TriggerStatus?alt=com.azure.resourcemanager.containerregistry.models.TriggerStatus&text=TriggerStatus\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public SourceTrigger withStatus(TriggerStatus status)"
|
|
desc: "Set the status property: The current status of trigger."
|
|
returns:
|
|
description: "the SourceTrigger object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The properties of a source based trigger."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerregistry.models.SourceTrigger?alt=com.azure.resourcemanager.containerregistry.models.SourceTrigger&text=SourceTrigger\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.containerregistry.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-containerregistry:2.44.0
|