com.cloudera.api.v4
Interface ProcessResourceV4


public interface ProcessResourceV4


Method Summary
 org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource getConfigFile(String configFileName)
          Returns the contents of the specified config file.
 ApiProcess getProcess()
           
 

Method Detail

getProcess

@Path(value="/")
ApiProcess getProcess()
Returns:
The process associated with this resource.

getConfigFile

@Path(value="/configFiles/{configFileName : .*}")
org.apache.cxf.jaxrs.ext.multipart.InputStreamDataSource getConfigFile(String configFileName)
Returns the contents of the specified config file. A multi-level file name (e.g. hadoop-conf/hdfs-site.xml) is acceptable here.

Parameters:
configFileName - Name of the config file to get.
Returns:
Contents of the specified config file


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.