com.github.narcissujsk.openstackjsk.model.workflow.Definition Maven / Gradle / Ivy
The newest version!
/*
*
*/
package com.github.narcissujsk.openstackjsk.model.workflow;
import com.github.narcissujsk.openstackjsk.common.Buildable;
import com.github.narcissujsk.openstackjsk.model.ModelEntity;
import com.github.narcissujsk.openstackjsk.model.workflow.Scope;
import com.github.narcissujsk.openstackjsk.model.workflow.builder.DefinitionBuilder;
import com.github.narcissujsk.openstackjsk.model.workflow.builder.WorkflowDefinitionBuilder;
import java.util.Date;
import java.util.List;
/**
* Base interface for all definition objects.
*
* @author Renat Akhmerov
*/
public interface Definition extends ModelEntity, Buildable {
/**
* @return The id of this definition.
*/
String getId();
/**
* @return The name of this definition.
*/
String getName();
/**
* @return The text of this definition.
*/
String getDefinition();
/**
* @return the createdAt
*/
Date getCreatedAt();
/**
* @return the updatedAt
*/
Date getUpdatedAt();
/**
* @return {@code True} if the definition is system (not createdAt by user).
*/
Boolean isSystem();
/**
* @return User tags.
*/
List getTags();
/**
* @return Definition scope.
*/
Scope getScope();
/**
* @return Definition project ID.
*/
String getProjectId();
}