public class ImageNameService extends Object implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.config.ConfigurationBulkChangeHandler
| Constructor and Description |
|---|
ImageNameService() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.imagenaming.ImageName |
getImageName() |
List<org.lsst.ccs.imagenaming.ImageName> |
getImageNames(int n) |
void |
postInit() |
void |
setController(String controller) |
void |
setParameterBulk(Map<String,Object> parametersView) |
void |
setSource(String source) |
void |
shutdown() |
static ImageNameService |
testInstance(String dbURL,
org.lsst.ccs.imagenaming.Controller controller,
org.lsst.ccs.imagenaming.Source source,
String timeZoneId,
Duration offset,
Instant testTime)
Create a test instance of the ImageNameService
|
void |
validateBulkChange(Map<String,Object> parametersView) |
public static ImageNameService testInstance(String dbURL, org.lsst.ccs.imagenaming.Controller controller, org.lsst.ccs.imagenaming.Source source, String timeZoneId, Duration offset, Instant testTime)
dbURL - The dbURL to usecontroller - The controller to usesource - The source to usetimeZoneId - The timeZoneId to useoffset - The offset to usetestTime - A fake time to use to make tests more reproduciblepublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecycle@ConfigurationParameterChanger(propertyName="source") public void setSource(String source)
@ConfigurationParameterChanger(propertyName="controller") public void setController(String controller)
public org.lsst.ccs.imagenaming.ImageName getImageName()
public List<org.lsst.ccs.imagenaming.ImageName> getImageNames(int n)
public void setParameterBulk(Map<String,Object> parametersView)
setParameterBulk in interface org.lsst.ccs.config.ConfigurationBulkChangeHandlerCopyright © 2024 LSST. All rights reserved.