com.marklogic.mgmt.api.trigger.DataEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
The newest version!
/*
* Copyright (c) 2023 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.marklogic.mgmt.api.trigger;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
@XmlAccessorType(XmlAccessType.FIELD)
public class DataEvent {
@XmlElement(name = "collection-scope")
private CollectionScope collectionScope;
@XmlElement(name = "directory-scope")
private DirectoryScope directoryScope;
@XmlElement(name = "document-content")
private DocumentContent documentContent;
@XmlElement(name = "document-scope")
private DocumentScope documentScope;
@XmlElement(name = "property-content")
private PropertyContent propertyContent;
private String when;
public DirectoryScope getDirectoryScope() {
return directoryScope;
}
public void setDirectoryScope(DirectoryScope directoryScope) {
this.directoryScope = directoryScope;
}
public DocumentContent getDocumentContent() {
return documentContent;
}
public void setDocumentContent(DocumentContent documentContent) {
this.documentContent = documentContent;
}
public String getWhen() {
return when;
}
public void setWhen(String when) {
this.when = when;
}
public CollectionScope getCollectionScope() {
return collectionScope;
}
public void setCollectionScope(CollectionScope collectionScope) {
this.collectionScope = collectionScope;
}
public DocumentScope getDocumentScope() {
return documentScope;
}
public void setDocumentScope(DocumentScope documentScope) {
this.documentScope = documentScope;
}
public PropertyContent getPropertyContent() {
return propertyContent;
}
public void setPropertyContent(PropertyContent propertyContent) {
this.propertyContent = propertyContent;
}
}