com.sonyericsson.hudson.plugins.metadata.model
Interface MetadataContainer<T extends Metadata>

Type Parameters:
T - The type of Metadata that this is a container for.
All Superinterfaces:
MetadataParent<T>
All Known Implementing Classes:
MetadataBuildAction, MetadataJobProperty, MetadataNodeProperty

public interface MetadataContainer<T extends Metadata>
extends MetadataParent<T>

A container for metadata. i.e. MetadataJobProperty or MetadataBuildAction.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Method Summary
 hudson.security.ACL getACL()
          Returns the ACL for the owner of the container..
 void save()
          Saves the container to disc, usually achieved by calling save on whatever Saveable this container is in.
 
Methods inherited from interface com.sonyericsson.hudson.plugins.metadata.model.MetadataParent
addChild, addChildren, getChild, getChildNames, getChildren, getFullName, getFullName, getFullNameFrom, indexOf, requiresReplacement, setChild, toJson
 

Method Detail

save

void save()
          throws IOException
Saves the container to disc, usually achieved by calling save on whatever Saveable this container is in.

Throws:
IOException - if the persistence.

getACL

hudson.security.ACL getACL()
Returns the ACL for the owner of the container..

Returns:
the ACL.


Copyright © 2004-2013. All Rights Reserved.