Class MongoDeployment
java.lang.Object
dev.getelements.elements.dao.mongo.model.MongoDeployment
@Entity("deployment")
@Indexes(@Index(fields={@Field("application"),@Field("version")},options=@IndexOptions(unique=true)))
public class MongoDeployment
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.types.ObjectId
void
setApplication
(MongoApplication application) void
setCreatedAt
(Timestamp createdAt) void
setObjectId
(org.bson.types.ObjectId objectId) void
setRevision
(String revision) void
setVersion
(String version)
-
Constructor Details
-
MongoDeployment
public MongoDeployment()
-
-
Method Details
-
getObjectId
public org.bson.types.ObjectId getObjectId() -
setObjectId
public void setObjectId(org.bson.types.ObjectId objectId) -
getVersion
-
setVersion
-
getRevision
-
setRevision
-
getCreatedAt
-
setCreatedAt
-
getApplication
-
setApplication
-