public class CompositeProjects
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
ELEMENT_ORDER_FILENAME |
|
static java.lang.String |
PROJECT_CONTENT_FILENAME |
|
static java.lang.String |
REPORTS_FOLDER_NAME |
|
static java.lang.String |
SETTINGS_XML_FILENAME |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
accept(java.io.File pathname) |
|
public static boolean |
deleteModelItemFile(AbstractModelItem modelItem) |
|
public static java.lang.String |
getFileNameForModelItem(ModelItem modelItem)Creates a file name with which model item should be saved |
|
public static java.io.File |
getModelItemFile(ModelItem modelItem)Creates path for the modelItem to be saved and returns a java.io.File with that path |
|
public static java.util.List<java.lang.String> |
getOrderFileList(PathRepresentation projectFolder) |
|
public static java.util.Set<PathRepresentation> |
getProjectFileList(PathRepresentation projectFolder) |
|
public static java.util.List<PathRepresentation> |
getProjectFileListForSaveTestSuite(PathRepresentation projectFolder) |
|
public static long |
getSize(java.io.File projectDirectory)Calculates composite project size |
|
public static boolean |
isComposite(java.lang.String path)Figures out whether given path belongs to composite project or not |
|
public static java.io.InputStream |
loadCompositeProjectFile(FileRepresentation projectDirectory)Creates input stream for the provided file |
|
public static MockOperationConfig |
loadMockOperation(java.lang.String projectPath, WsdlMockService service, WsdlMockOperation mockOperation)Loads Mock operation config from file for the provided mock operation |
|
public static OperationConfig |
loadOperation(java.lang.String projectPath, WsdlInterface serviceInterface, WsdlOperation operation)Load operation config from file |
|
public static TestCaseConfig |
loadTestCase(WsdlTestCase testCase)Loads test case config from file |
|
public static void |
saveMockOperation(WsdlMockOperation mockOperation)Saves the give operation to a file |
|
public static void |
saveOperation(Operation operation)Saves an operation to a file |
|
public static void |
saveTestCase(WsdlTestCase testCase)Saves a test case to a file |
|
public static void |
saveTestSuite(WsdlTestSuite testSuite) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a file name with which model item should be saved
modelItem - model item for which file should be identifiedCreates path for the modelItem to be saved and returns a java.io.File with that path
modelItem - model item for which file should be identifiedCalculates composite project size
projectDirectory - directory where project is savedFigures out whether given path belongs to composite project or not
path - root directory or the file where project is savedCreates input stream for the provided file
projectDirectory - directory from where project should be loadedLoads Mock operation config from file for the provided mock operation
projectPath - root directory for composite projectservice - mock service which contains the mock operationmockOperation - mock operation for which config is to be loadedLoad operation config from file
projectPath - root directory for composite projectserviceInterface - service which contains the operationoperation - operation for which config is to be loadedLoads test case config from file
testCase - test case for which config is to be loadedSaves the give operation to a file
mockOperation - Mock operation to be savedSaves an operation to a file
operation - operation to be savedSaves a test case to a file
testCase - test case to be saved