/** * Determines if this draft is draft for provided by plugin topic. * NOTE: currently jcommune provides two topic types: "Code review" and "Discussion" all other * topic types are provided by plugins * * @return true if topic is provided by plugin otherwise false */ public boolean isPlugable() { return topicType != null && !(this.isCodeReview() || topicType.equals(TopicTypeName.DISCUSSION.getName())); } }