public static class Box.Builder extends org.kuali.common.core.build.ValidatingBuilder<Box>
Constructor and Description |
---|
Box.Builder() |
Modifier and Type | Method and Description |
---|---|
Box |
build() |
long |
getCreatedAt() |
com.google.common.base.Optional<Version> |
getCurrentVersion() |
com.google.common.base.Optional<String> |
getDescriptionHtml() |
com.google.common.base.Optional<String> |
getDescriptionMarkdown() |
String |
getName() |
com.google.common.base.Optional<String> |
getShortDescription() |
String |
getTag() |
long |
getUpdatedAt() |
String |
getUsername() |
List<Version> |
getVersions() |
boolean |
isNonPublic() |
void |
setCreatedAt(long createdAt) |
void |
setCurrentVersion(com.google.common.base.Optional<Version> currentVersion) |
void |
setDescriptionHtml(com.google.common.base.Optional<String> descriptionHtml) |
void |
setDescriptionMarkdown(com.google.common.base.Optional<String> descriptionMarkdown) |
void |
setName(String name) |
void |
setNonPublic(boolean nonPublic) |
void |
setShortDescription(com.google.common.base.Optional<String> shortDescription) |
void |
setTag(String tag) |
void |
setUpdatedAt(long updatedAt) |
void |
setUsername(String username) |
void |
setVersions(List<Version> versions) |
Box.Builder |
withCreatedAt(long createdAt) |
Box.Builder |
withCurrentVersion(com.google.common.base.Optional<Version> currentVersion) |
Box.Builder |
withDescriptionHtml(com.google.common.base.Optional<String> descriptionHtml) |
Box.Builder |
withDescriptionMarkdown(com.google.common.base.Optional<String> descriptionMarkdown) |
Box.Builder |
withName(String name) |
Box.Builder |
withNonPublic(boolean nonPublic) |
Box.Builder |
withShortDescription(com.google.common.base.Optional<String> shortDescription) |
Box.Builder |
withTag(String tag) |
Box.Builder |
withUpdatedAt(long updatedAt) |
Box.Builder |
withUsername(String username) |
Box.Builder |
withVersions(List<Version> versions) |
public Box.Builder()
public Box.Builder withDescriptionMarkdown(com.google.common.base.Optional<String> descriptionMarkdown)
public Box.Builder withCreatedAt(long createdAt)
public Box.Builder withUpdatedAt(long updatedAt)
public Box.Builder withTag(String tag)
public Box.Builder withName(String name)
public Box.Builder withShortDescription(com.google.common.base.Optional<String> shortDescription)
public Box.Builder withDescriptionHtml(com.google.common.base.Optional<String> descriptionHtml)
public Box.Builder withUsername(String username)
public Box.Builder withNonPublic(boolean nonPublic)
public Box.Builder withCurrentVersion(com.google.common.base.Optional<Version> currentVersion)
public Box.Builder withVersions(List<Version> versions)
public long getCreatedAt()
public void setCreatedAt(long createdAt)
public long getUpdatedAt()
public void setUpdatedAt(long updatedAt)
public com.google.common.base.Optional<String> getShortDescription()
public void setShortDescription(com.google.common.base.Optional<String> shortDescription)
public com.google.common.base.Optional<String> getDescriptionHtml()
public void setDescriptionHtml(com.google.common.base.Optional<String> descriptionHtml)
public com.google.common.base.Optional<String> getDescriptionMarkdown()
public void setDescriptionMarkdown(com.google.common.base.Optional<String> descriptionMarkdown)
public String getUsername()
public void setUsername(String username)
public boolean isNonPublic()
public void setNonPublic(boolean nonPublic)
public com.google.common.base.Optional<Version> getCurrentVersion()
public void setCurrentVersion(com.google.common.base.Optional<Version> currentVersion)
public List<Version> getVersions()
public void setVersions(List<Version> versions)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.