Class StoragePluginService<T extends ServiceData>
- java.lang.Object
-
- com.microsoftopentechnologies.windowsazurestorage.service.StoragePluginService<T>
-
- Direct Known Subclasses:
DownloadService
,UploadService
public abstract class StoragePluginService<T extends ServiceData> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
FP_SEPARATOR
-
Constructor Summary
Constructors Modifier Constructor Description protected
StoragePluginService(T serviceData)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected PrintWriter
error(String message)
abstract int
execute()
T
getServiceData()
protected String
getTime(long timeInMills)
protected void
println(String message)
protected void
setRunUnstable()
void
setServiceData(T serviceData)
-
-
-
Field Detail
-
FP_SEPARATOR
protected static final String FP_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StoragePluginService
protected StoragePluginService(T serviceData)
-
-
Method Detail
-
execute
public abstract int execute() throws WAStorageException
- Throws:
WAStorageException
-
setRunUnstable
protected void setRunUnstable()
-
println
protected void println(String message)
-
error
protected PrintWriter error(String message)
-
getTime
protected String getTime(long timeInMills)
-
getServiceData
public T getServiceData()
-
setServiceData
public void setServiceData(T serviceData)
-
-