setParentBranchName method

Class: EyesPlatform: ImagesLanguage: Java SDK:

Use this method to set the parent branch from which newly created branches get their initial baseline.

The newly created branch inherits the baselines and annotations of the parent. If no parent is defined, then the new branch will inherit the baselines from the default branch.

Syntax


Configuration value = eyes.setParentBranchName(branchName);

Parameters

branchName
Type:String
The branch name. This may be any string.

Return value

Type: Configuration