@Immutable public final class Profiles extends Object
Constructor and Description |
---|
Profiles() |
Modifier and Type | Method and Description |
---|---|
Profile |
fetch(Talk talk)
Fetch a profile from a talk.
|
Profile |
merged(Profile master,
String fork,
String branch)
Merge profile from master and fork.
|
Profile |
validated(Profile master,
Profile merged)
Validate merged profile: merged profile must have no changes in architect
and commander sections (full match with master profile).
|
public Profile fetch(Talk talk) throws IOException
talk
- The talkIOException
- If failspublic Profile merged(Profile master, String fork, String branch)
master
- Profile from master branchfork
- Fork that will be mergedbranch
- Fork branch that will be mergedpublic Profile validated(Profile master, Profile merged) throws IOException
master
- Profile from master branchmerged
- Result of merging master and fork profilesIOException
- If failsCopyright © 2009–2018 Rultor Inc.. All rights reserved.