Class TasksViewConverter


  • @Component
    public class TasksViewConverter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setTaskViewConverters​(java.util.List<? extends TaskViewConverter> taskViewConverters)  
      TaskFullView toFullView​(com.xebialabs.xlrelease.domain.Task task, java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> allowedTaskTypesForAuthenticatedUser)  
      java.util.List<TaskFullView> toFullView​(java.util.Collection<? extends com.xebialabs.xlrelease.domain.Task> tasks, java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> allowedTaskTypesForAuthenticatedUser)  
      com.xebialabs.xlrelease.domain.Task toTask​(TaskFullView view)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TasksViewConverter

        public TasksViewConverter()
    • Method Detail

      • setTaskViewConverters

        @Autowired
        public void setTaskViewConverters​(java.util.List<? extends TaskViewConverter> taskViewConverters)
      • toFullView

        public TaskFullView toFullView​(com.xebialabs.xlrelease.domain.Task task,
                                       java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> allowedTaskTypesForAuthenticatedUser)
      • toFullView

        public java.util.List<TaskFullView> toFullView​(java.util.Collection<? extends com.xebialabs.xlrelease.domain.Task> tasks,
                                                       java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> allowedTaskTypesForAuthenticatedUser)
      • toTask

        public com.xebialabs.xlrelease.domain.Task toTask​(TaskFullView view)