@Extension
public class XfManagementLink
extends hudson.model.ManagementLink
Constructor and Description |
---|
XfManagementLink() |
Modifier and Type | Method and Description |
---|---|
Set<Lamp> |
addLampByIpAddress(String ipAddress) |
Collection<Lamp> |
addProjectToLamp(String projectName,
String macAddress) |
boolean |
changeLampName(String macAddress,
String name) |
Set<Lamp> |
findLamps() |
String |
getDescription() |
String |
getDisplayName() |
String |
getIconFileName() |
Lamp |
getLamp(String macAddress) |
Set<Lamp> |
getLamps() |
Collection<String> |
getProjects() |
String |
getUrlName() |
Collection<Lamp> |
removeLamp(String macAddress) |
Collection<Lamp> |
removeProjectFromLamp(String projectName,
String macAddress) |
boolean |
setLampAlarm(String macAddress,
boolean status) |
boolean |
updateLamp(Lamp lamp) |
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
getIconFileName
in class hudson.model.ManagementLink
public String getDisplayName()
public String getDescription()
getDescription
in class hudson.model.ManagementLink
public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.model.ManagementLink
@JavaScriptMethod public boolean updateLamp(Lamp lamp)
@JavaScriptMethod public boolean setLampAlarm(String macAddress, boolean status)
@JavaScriptMethod public Collection<String> getProjects()
@JavaScriptMethod public Collection<Lamp> addProjectToLamp(String projectName, String macAddress)
@JavaScriptMethod public Collection<Lamp> removeProjectFromLamp(String projectName, String macAddress)
@JavaScriptMethod public Collection<Lamp> removeLamp(String macAddress)
Copyright © 2004-2015. All Rights Reserved.