@Component public class GQLProjectEntityDecorationListFieldContributor extends java.lang.Object implements GQLProjectEntityFieldContributor
| Constructor and Description |
|---|
GQLProjectEntityDecorationListFieldContributor(net.nemerosa.ontrack.model.structure.DecorationService decorationService,
GQLTypeDecoration decoration) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<graphql.schema.GraphQLFieldDefinition> |
getFields(java.lang.Class<? extends net.nemerosa.ontrack.model.structure.ProjectEntity> projectEntityClass,
net.nemerosa.ontrack.model.structure.ProjectEntityType projectEntityType)
List of field contributions
|
@Autowired
public GQLProjectEntityDecorationListFieldContributor(net.nemerosa.ontrack.model.structure.DecorationService decorationService,
GQLTypeDecoration decoration)
public java.util.List<graphql.schema.GraphQLFieldDefinition> getFields(java.lang.Class<? extends net.nemerosa.ontrack.model.structure.ProjectEntity> projectEntityClass,
net.nemerosa.ontrack.model.structure.ProjectEntityType projectEntityType)
GQLProjectEntityFieldContributorgetFields in interface GQLProjectEntityFieldContributorprojectEntityClass - Class of project entityprojectEntityType - Type of project entitynull is accepted.