Class SiteInfo2SiteCatalogEntry
- java.lang.Object
-
- edu.isi.pegasus.planner.catalog.site.classes.SiteInfo2SiteCatalogEntry
-
public class SiteInfo2SiteCatalogEntry extends java.lang.Object
An adapter class that converts SiteInfo object to SiteCatalogEntry object.- Version:
- $Revision$
- Author:
- Karan Vahi
-
-
Constructor Summary
Constructors Constructor Description SiteInfo2SiteCatalogEntry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SiteCatalogEntry
convert(SiteInfo s)
An adapter method that converts theSiteInfo
object toSiteCatalogEntry
object.static SiteCatalogEntry
convert(SiteInfo s, LogManager logger)
An adapter method that converts theSiteInfo
object toSiteCatalogEntry
object.
-
-
-
Method Detail
-
convert
public static SiteCatalogEntry convert(SiteInfo s)
An adapter method that converts theSiteInfo
object toSiteCatalogEntry
object.- Parameters:
s
-SiteInfo
to be converted.- Returns:
- the converted
SiteCatalogEntry
object.
-
convert
public static SiteCatalogEntry convert(SiteInfo s, LogManager logger)
An adapter method that converts theSiteInfo
object toSiteCatalogEntry
object.- Parameters:
s
-SiteInfo
to be converted.logger
- the hande to the LogManager- Returns:
- the converted
SiteCatalogEntry
object.
-
-