com.sonyericsson.hudson.plugins.metadata
Class MetadataUpdateListener

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.metadata.MetadataUpdateListener
All Implemented Interfaces:
hudson.ExtensionPoint

public abstract class MetadataUpdateListener
extends Object
implements hudson.ExtensionPoint

A listener that listens on updates in the Metadata.

Author:
Tomas Westling <tomas.westling@sonymobile.com>

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MetadataUpdateListener()
           
 
Method Summary
 void metadataNodePropertyChanged(MetadataNodeProperty property)
          Run when there are changes in the Metadata for a Node.
static void notifyMetadaNodePropertyChanged(MetadataNodeProperty property)
          Finds all the MetadataUpdateListeners and runs metadataChanged on them when changes are made in the Metadata for a Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataUpdateListener

public MetadataUpdateListener()
Method Detail

notifyMetadaNodePropertyChanged

public static void notifyMetadaNodePropertyChanged(MetadataNodeProperty property)
Finds all the MetadataUpdateListeners and runs metadataChanged on them when changes are made in the Metadata for a Node.

Parameters:
property - the new MetadataNodeProperty.

metadataNodePropertyChanged

public void metadataNodePropertyChanged(MetadataNodeProperty property)
Run when there are changes in the Metadata for a Node.

Parameters:
property - the new MetadataNodeProperty.


Copyright © 2004-2013. All Rights Reserved.