Klasse AsyncExecuteCommandsResource
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractExecuteCommandsResource<AsyncResult<TaskResponse>>
com.cloudconvert.resource.async.AsyncExecuteCommandsResource
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
public class AsyncExecuteCommandsResource
extends AbstractExecuteCommandsResource<AsyncResult<TaskResponse>>
-
Feldübersicht
Von Klasse geerbte Felder com.cloudconvert.resource.AbstractExecuteCommandsResource
PATH_SEGMENT_COMMANDVon Klasse geerbte Felder com.cloudconvert.resource.AbstractResource
BEARER, HEADER_AUTHORIZATION, HEADER_USER_AGENT, INPUT_STREAM_TYPE_REFERENCE, JOB_RESPONSE_PAGEABLE_TYPE_REFERENCE, JOB_RESPONSE_TYPE_REFERENCE, MAP_STRING_TO_OBJECT_TYPE_REFERENCE, OPERATION_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_TYPE_REFERENCE, USER_RESPONSE_TYPE_REFERENCE, V2, VALUE_USER_AGENT, VOID_TYPE_REFERENCE, WEBHOOKS_RESPONSE_PAGEABLE_TYPE_REFERENCE, WEBHOOKS_RESPONSE_TYPE_REFERENCE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAsyncExecuteCommandsResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, AsyncRequestExecutor asyncRequestExecutor) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()command(@NotNull ExecuteCommandsTaskRequest executeCommandsTaskRequest) Create a task to execute a command.Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractExecuteCommandsResource
getCommandHttpUriRequestVon Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Konstruktordetails
-
AsyncExecuteCommandsResource
public AsyncExecuteCommandsResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, AsyncRequestExecutor asyncRequestExecutor)
-
-
Methodendetails
-
command
public AsyncResult<TaskResponse> command(@NotNull @NotNull ExecuteCommandsTaskRequest executeCommandsTaskRequest) throws IOException, URISyntaxException Beschreibung aus Klasse kopiert:AbstractExecuteCommandsResourceCreate a task to execute a command. Currently, ffmpeg, imagemagick and graphicsmagick commands re supported. You can access the files from the input task in the /input/{taskName}/ (For example: /input/import-1/) directory. All files that are created in the /output/ directory are available for following tasks (e.g. export tasks).- Angegeben von:
commandin KlasseAbstractExecuteCommandsResource<AsyncResult<TaskResponse>>- Parameter:
executeCommandsTaskRequest-ExecuteCommandsTaskRequest- Gibt zurück:
AbstractExecuteCommandsResource- Löst aus:
IOExceptionURISyntaxException
-
close
- Löst aus:
IOException
-