Package org.syncany
Class Client
- java.lang.Object
-
- org.syncany.Client
-
- Direct Known Subclasses:
CommandLineClient
public class Client extends java.lang.Object
The client class is a convenience class to call the application'sOperation
s using a central entry point. The class offers wrapper methods around the operations.The methods typically take an
OperationOptions
instance as an argument, and return an instance of theOperationResult
class.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
APPLICATION_PROPERTIES_DATE_FORMAT
protected static java.lang.String
APPLICATION_PROPERTIES_DATE_KEY
protected static java.lang.String
APPLICATION_PROPERTIES_RELEASE_KEY
protected static java.lang.String
APPLICATION_PROPERTIES_RESOURCE
protected static java.lang.String
APPLICATION_PROPERTIES_REVISION_KEY
protected static java.lang.String
APPLICATION_PROPERTIES_TEST_RESOURCE
protected static java.lang.String
APPLICATION_PROPERTIES_VERSION_FULL_KEY
protected static java.lang.String
APPLICATION_PROPERTIES_VERSION_KEY
protected static java.util.Properties
applicationProperties
-
Constructor Summary
Constructors Constructor Description Client()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Date
getApplicationDate()
static java.util.Properties
getApplicationProperties()
static java.lang.String
getApplicationRevision()
static java.lang.String
getApplicationVersion()
static java.lang.String
getApplicationVersionFull()
static boolean
isApplicationRelease()
-
-
-
Field Detail
-
APPLICATION_PROPERTIES_RESOURCE
protected static final java.lang.String APPLICATION_PROPERTIES_RESOURCE
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_TEST_RESOURCE
protected static final java.lang.String APPLICATION_PROPERTIES_TEST_RESOURCE
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_RELEASE_KEY
protected static final java.lang.String APPLICATION_PROPERTIES_RELEASE_KEY
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_VERSION_KEY
protected static final java.lang.String APPLICATION_PROPERTIES_VERSION_KEY
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_VERSION_FULL_KEY
protected static final java.lang.String APPLICATION_PROPERTIES_VERSION_FULL_KEY
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_REVISION_KEY
protected static final java.lang.String APPLICATION_PROPERTIES_REVISION_KEY
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_DATE_KEY
protected static final java.lang.String APPLICATION_PROPERTIES_DATE_KEY
- See Also:
- Constant Field Values
-
APPLICATION_PROPERTIES_DATE_FORMAT
protected static final java.lang.String APPLICATION_PROPERTIES_DATE_FORMAT
- See Also:
- Constant Field Values
-
applicationProperties
protected static java.util.Properties applicationProperties
-
-
Constructor Detail
-
Client
public Client()
-
-
Method Detail
-
getApplicationProperties
public static java.util.Properties getApplicationProperties()
-
isApplicationRelease
public static boolean isApplicationRelease()
-
getApplicationVersion
public static java.lang.String getApplicationVersion()
-
getApplicationVersionFull
public static java.lang.String getApplicationVersionFull()
-
getApplicationRevision
public static java.lang.String getApplicationRevision()
-
getApplicationDate
public static java.util.Date getApplicationDate()
-
-