Package com.peterphi.carbon
Interface CarbonClient
- All Known Implementing Classes:
CarbonClientImpl
public interface CarbonClient
-
Method Summary
Modifier and TypeMethodDescriptioncreateJob(CarbonProject project) getJobDetails(String guid) Get detailed information about a jobgetProfile(String name) Retrieve a profile by name (or GUID)Retrieve a list of all destination profilesgetVideoFilter(String name) Retrieve a video filter by name (or GUID)booleanPerform a health check on the Carbon instancelistJobs()voidsend(org.jdom2.Element element) Send an arbitrary XML request
-
Method Details
-
getEndpoint
String getEndpoint() -
isHealthy
boolean isHealthy()Perform a health check on the Carbon instance- Returns:
- true if healthy, otherwise false
-
send
Send an arbitrary XML request- Parameters:
element- the XML element- Returns:
- Throws:
CarbonException
-
getJob
- Throws:
CarbonException
-
getJobDetails
Get detailed information about a job- Parameters:
guid-- Returns:
- Throws:
CarbonException
-
createJob
- Throws:
CarbonException
-
listJobs
- Returns:
- Throws:
CarbonException
-
getProfiles
Retrieve a list of all destination profiles- Returns:
- Throws:
CarbonException
-
getVideoFilters
- Throws:
CarbonException
-
getProfile
Retrieve a profile by name (or GUID)- Parameters:
name- the profile name (or GUID)- Returns:
- Throws:
CarbonException
-
removeJob
- Throws:
CarbonException
-
getVideoFilter
Retrieve a video filter by name (or GUID)- Parameters:
name- the video filter name (or GUID)- Returns:
- Throws:
CarbonException
-