MockItem.Builder

public static class MockItem.Builder extends Object

Builder class to set meta data attributes of an Item.

Public Constructor Summary

MockItem.Builder(String itemName)

Public Method Summary

MockItem.Builder
addValue(String key, Object value)
MockItem
build()
MockItem.Builder
setAcl(Acl acl)
MockItem.Builder
setContainerName(String container)
MockItem.Builder
setContentLanguage(String language)
MockItem.Builder
setCreateTime(String createTime)
MockItem.Builder
setHash(String hash)
MockItem.Builder
setItemType(String itemType)
MockItem.Builder
setMimeType(String mimeType)
MockItem.Builder
setObjectType(String objectType)
MockItem.Builder
setPayload(String payload)
MockItem.Builder
setQueue(String queue)
MockItem.Builder
MockItem.Builder
setTitle(String title)
MockItem.Builder
setUpdateTime(String updateTime)
MockItem.Builder
setVersion(String version)

Inherited Method Summary

Public Constructors

public MockItem.Builder (String itemName)

Parameters
itemName

Public Methods

public MockItem.Builder addValue (String key, Object value)

Parameters
key
value

public MockItem build ()

public MockItem.Builder setAcl (Acl acl)

Parameters
acl

public MockItem.Builder setContainerName (String container)

Parameters
container

public MockItem.Builder setContentLanguage (String language)

Parameters
language

public MockItem.Builder setCreateTime (String createTime)

Parameters
createTime

public MockItem.Builder setHash (String hash)

Parameters
hash

public MockItem.Builder setItemType (String itemType)

Parameters
itemType

public MockItem.Builder setMimeType (String mimeType)

Parameters
mimeType

public MockItem.Builder setObjectType (String objectType)

Parameters
objectType

public MockItem.Builder setPayload (String payload)

Parameters
payload

public MockItem.Builder setQueue (String queue)

Parameters
queue

public MockItem.Builder setSourceRepositoryUrl (String url)

Parameters
url

public MockItem.Builder setTitle (String title)

Parameters
title

public MockItem.Builder setUpdateTime (String updateTime)

Parameters
updateTime

public MockItem.Builder setVersion (String version)

Parameters
version