private abstract static class AbstractState implements ProfileStateMachine {
}
private static boolean allProfilesExportable(Collection<ProfileForm> profiles) {
for (ProfileForm profile : profiles) {
final ProfileState state = profile.getProfile().getState();
if (!(state.equals(ProfileState.STOPPED) || state.equals(ProfileState.FINISHED))) {
return false;
}
}
return true;
}