@Override public JsonNode forStorage(SVNSyncProperty value) { return format( MapBuilder.params() .with("override", value.isOverride()) .with("interval", value.getInterval()) .get() ); }
@Override public JsonNode forStorage(JenkinsJobProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("job", value.getJob()) .get() ); }
@Override public JsonNode forStorage(SVNProjectConfigurationProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("projectPath", value.getProjectPath()) .get() ); }
@Override public JsonNode forStorage(JenkinsBuildProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("job", value.getJob()) .with("build", value.getBuild()) .get() ); }
@Override public JsonNode forStorage(GitHubProjectConfigurationProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("repository", value.getRepository()) .with("indexationInterval", value.getIndexationInterval()) .with("issueServiceConfigurationIdentifier", value.getIssueServiceConfigurationIdentifier()) .get() ); }
@Override public JsonNode forStorage(GitLabProjectConfigurationProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("repository", value.getRepository()) .with("indexationInterval", value.getIndexationInterval()) .with("issueServiceConfigurationIdentifier", value.getIssueServiceConfigurationIdentifier()) .get() ); }
@Override public JsonNode forStorage(ArtifactoryPromotionSyncProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("buildName", value.getBuildName()) .with("buildNameFilter", value.getBuildNameFilter()) .with("interval", value.getInterval()) .get() ); }
@Override public JsonNode forStorage(StashProjectConfigurationProperty value) { return format( MapBuilder.params() .with("configuration", value.getConfiguration().getName()) .with("project", value.getProject()) .with("repository", value.getRepository()) .with("indexationInterval", value.getIndexationInterval()) .with("issueServiceConfigurationIdentifier", value.getIssueServiceConfigurationIdentifier()) .get() ); }