Package com.illumon.iris.console
Class PracticalExampleProvider
java.lang.Object
com.illumon.iris.console.PracticalExampleProvider
public class PracticalExampleProvider extends Object
-
Method Summary
Modifier and Type Method Description static String
getFileContent(Path path)
Grabs the content of an example but first makes sure that the example existsstatic String
getVersion()
static String
initRepo()
Ensures the practical examples repo is initialized, pulled, and checked out to the correct branch.
-
Method Details
-
initRepo
Ensures the practical examples repo is initialized, pulled, and checked out to the correct branch.- Throws:
Exception
-
getFileContent
Grabs the content of an example but first makes sure that the example exists- Parameters:
path
-- Returns:
- Throws:
IOException
-
getVersion
-